final-form / final-form/react-final-form

Proposal: Create a bridge between redux-form and react-final-form

Open
#518 1 comment 4 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
7.4k
Forks
497
PR merge metrics
No merged PRs in 30d

Description

Hey there @erikras!

I know there is quite the burden of having to support both `redux-form` and this in parallel, and not only does it take up a lot of time for you, but it's got to be stressful!

So this is more of a feature/suggestion ticket. What if you created a small bridge library between the two as a solution for people's migration woes?

Since the `final-form` has very similar fields, what if you created an easy monkeypatch/decorator to add a config prop to `redux-form`?

Something like:

```
export default reduxForm({
form: 'myCoolForm',
finalForm: true
})(connect(mapStateToProps, mapDispatchToProps)(MyCoolFormComponent));
```
and this would route the logic to `final-form` (you'd have to use the `final-form` fields still)

This would probably trigger most people to migrate very easily, and create an opt-in path to cherry pick situations where they want to still use `redux-form`.

Just a thought! Thanks for all your hard work! :-)

### Are you submitting a **bug report** or a **feature request**?

Feature request + suggestion to help you!

Contributor guide

Open the contributing guide

Research direction

No files, tests, or entry points are named. Start by reviewing the proposed migration relationship between redux-form and react-final-form, then clarify the bridge API, compatibility boundaries, and acceptance criteria with maintainers. Done would require an agreed design and validated migration path.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react
Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.