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

Do not re-evaluate forceUpdate in render #66

Closed
acontreras89 opened this issue Apr 23, 2017 · 0 comments
Closed

Do not re-evaluate forceUpdate in render #66

acontreras89 opened this issue Apr 23, 2017 · 0 comments

Comments

@acontreras89
Copy link
Contributor

It's considered a good practice to avoid creating new functions inside the render method of a component, as it may cause unnecessary re-renders in child components. That is, avoid using arrow functions or Function.prototype.bind.

acontreras89 added a commit to acontreras89/redux-query that referenced this issue Apr 23, 2017
acontreras89 added a commit to acontreras89/redux-query that referenced this issue Apr 23, 2017
acontreras89 added a commit to acontreras89/redux-query that referenced this issue Apr 23, 2017
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

No branches or pull requests

1 participant