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

[RFR] Improve form performance #3577

Merged
merged 2 commits into from
Aug 23, 2019
Merged

[RFR] Improve form performance #3577

merged 2 commits into from
Aug 23, 2019

Conversation

fzaninotto
Copy link
Member

@fzaninotto fzaninotto commented Aug 22, 2019

Our forms rerender all fields each time one of the values change - this is not good. I'm proposing a better default - having SimpleForm and TabbedForm subscribe only to submissions.

  • improve perf
  • look for side effects

@djhi djhi added this to the 3.0.0 milestone Aug 23, 2019
@djhi
Copy link
Contributor

djhi commented Aug 23, 2019

I haven't found any side effects. Inspection using the react profiler does not show any performance issues anymore

@djhi djhi changed the title [WIP] Improve form performance [RFR] Improve form performance Aug 23, 2019
@fzaninotto fzaninotto merged commit 13d3027 into next Aug 23, 2019
@fzaninotto fzaninotto deleted the form-perf branch August 23, 2019 14:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants