Does redux-form work with React Native?

Yes, it does.

If your are using all [email protected]+, [email protected]+ and [email protected]+

Just import it as usual:


import {reduxForm} from 'redux-form';

Else

All you have to do is use:


import {reduxForm} from 'redux-form/native';
instead of

import {reduxForm} from 'redux-form';

Note:

react-redux/native is deprecated in [email protected]+, it only appears in [email protected]

See Also:

  1. [react-native] Depend on npm "react" instead of shipping with a vendored copy #2985
  2. [react-redux] Update React Native installation instructions #236
  3. Until React Native works on top of React instead of shipping a fork of React, you’ll need to keep using React Redux 3.x branch and documentation.