Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BC Break] Migrate from redux-form to react-final-form #3455

Merged
merged 27 commits into from
Aug 1, 2019

Conversation

djhi
Copy link
Contributor

@djhi djhi commented Jul 24, 2019

No description provided.

@djhi djhi marked this pull request as ready for review July 29, 2019 15:12
Copy link
Member

@fzaninotto fzaninotto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Partial review so far

examples/demo/src/orders/OrderList.js Outdated Show resolved Hide resolved
examples/demo/src/reviews/RejectButton.js Outdated Show resolved Hide resolved
examples/demo/src/reviews/RejectButton.js Outdated Show resolved Hide resolved
examples/demo/src/reviews/reviewSaga.js Show resolved Hide resolved
examples/simple/src/posts/PostCreate.js Outdated Show resolved Hide resolved
examples/simple/src/posts/PostCreate.js Outdated Show resolved Hide resolved
examples/simple/src/posts/PostEdit.js Outdated Show resolved Hide resolved
package.json Show resolved Hide resolved
packages/ra-core/package.json Outdated Show resolved Hide resolved
Copy link
Member

@fzaninotto fzaninotto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Partial review

examples/demo/src/reviews/RejectButton.js Outdated Show resolved Hide resolved
examples/simple/src/posts/PostCreate.js Outdated Show resolved Hide resolved
packages/ra-core/src/controller/useEditController.spec.tsx Outdated Show resolved Hide resolved
packages/ra-ui-materialui/src/auth/LoginForm.tsx Outdated Show resolved Hide resolved
packages/ra-ui-materialui/src/form/FormTab.js Show resolved Hide resolved
packages/ra-ui-materialui/src/form/SimpleForm.js Outdated Show resolved Hide resolved
packages/ra-ui-materialui/src/form/SimpleForm.js Outdated Show resolved Hide resolved
packages/ra-ui-materialui/src/form/SimpleForm.js Outdated Show resolved Hide resolved
Copy link
Member

@fzaninotto fzaninotto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Final review!

I wonder if we're not missing one part: the rewrite of all Input fields to remove their addField HOC. What do you think?

packages/ra-ui-materialui/src/form/TabbedForm.js Outdated Show resolved Hide resolved
packages/ra-ui-materialui/src/form/TabbedForm.js Outdated Show resolved Hide resolved
packages/ra-ui-materialui/src/form/TabbedForm.js Outdated Show resolved Hide resolved
packages/ra-ui-materialui/src/input/ArrayInput.spec.js Outdated Show resolved Hide resolved
packages/ra-ui-materialui/src/list/FilterForm.js Outdated Show resolved Hide resolved
@djhi
Copy link
Contributor Author

djhi commented Jul 30, 2019

I wonder if we're not missing one part: the rewrite of all Input fields to remove their addField HOC. What do you think?

react-final-form still provide a Field component so we still need the HOC, right ?

Copy link
Member

@fzaninotto fzaninotto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Getting close! This PR still lacks documentation and upgrade updates.

packages/ra-core/src/form/validate.spec.ts Outdated Show resolved Hide resolved
packages/ra-core/src/form/validate.spec.ts Outdated Show resolved Hide resolved
@fzaninotto fzaninotto changed the title Migrate from redux-form to react-final-form [BC Break] Migrate from redux-form to react-final-form Aug 1, 2019
@fzaninotto fzaninotto merged commit 0dc0994 into next Aug 1, 2019
@fzaninotto fzaninotto deleted the react-final-form branch August 1, 2019 06:56
@fzaninotto fzaninotto added this to the 3.0.0 milestone Aug 1, 2019
@fzaninotto fzaninotto mentioned this pull request Aug 1, 2019
40 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants