final-form / final-form/react-final-form
Migration of Redux-Form, Field props, action creators and selectors
- Dominant language
- JavaScript
- Stars
- 7.4k
- Forks
- 497
- PR merge metrics
- No merged PRs in 30d
Description
### submitting a **feature request**
For migration documentation.
### What is the current behavior?
The migration docs do not mention action creators and state selectors.
https://final-form.org/docs/react-final-form/migration/redux-form
### What is the expected behavior?
The whole API should be covered including more sophisticated cases.
- [ ] several `` props have been removed, like `props`, `onChange`, `onBlur`, etc.
- [ ] [`redux-form` Action Creators](https://redux-form.com/8.3.0/docs/api/actioncreators.md/) -> may [`formApi` instance](https://final-form.org/docs/final-form/types/FormApi) could be used to some degree
- [ ] [`redux-form` Selectors](https://redux-form.com/8.3.0/docs/api/selectors.md/) like [`getFormValues`](https://redux-form.com/8.3.0/docs/api/selectors.md/#-code-getformvalues-formname-string-code-returns-code-state-gt-formvalues-object-code-) -> may [`FormState` api](https://final-form.org/docs/final-form/types/FormState) [`values`](https://final-form.org/docs/final-form/types/FormState#values) could help
- [ ] method signature [`validate(value, allValues, props, name)`](https://redux-form.com/8.3.0/docs/api/field.md/#-code-validate-array-lt-function-gt-value-allvalues-props-name-gt-error-code-optional-) changed to [`validate(value, allValues, meta)`](https://final-form.org/docs/react-final-form/types/FieldProps#validate)
Contributor guide
Assessment
This issue has not been assessed yet.