Skip to content
New issue

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

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

Already on GitHub? # to your account

Move original model to state #3

Open
mrjackdavis opened this issue Apr 3, 2017 · 0 comments
Open

Move original model to state #3

mrjackdavis opened this issue Apr 3, 2017 · 0 comments

Comments

@mrjackdavis
Copy link
Member

Recalculating the original model on each render is non-performant. We should save the original model to state and react to componentWillReceiveProps(nextProps) to update it.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant