☑️ Removed default export. Should not be a huge issue since the docs have been discouraging the direct use of reduxForm
since v0.4.0
.
☑️ Improved support for React Native. Fixed #99. React Native users must import from redux-form/native
now, just like from the react-redux
package.
Migration Guide
| v1.x.x
| v2.0.0
|
|
---|---|---|---|
React DOM | import reduxForm from 'redux-form';
| import {reduxForm} from 'redux-form';
|
|
React Native | import reduxForm from 'redux-form';
| import {reduxForm} from 'redux-form/native';
| ⚠️ |
React Native | import {connectReduxForm} from 'redux-form';
| import {connectReduxForm} from 'redux-form/native';
| ⚠️ |
Note that using reduxForm
rather than connectReduxForm
is still discouraged unless you really know what you are doing.