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

Enable tslint rule: jsx-no-lambda #181

goenning opened this Issue Nov 12, 2017 · 0 comments


None yet
1 participant
Copy link

goenning commented Nov 12, 2017


Creating new anonymous functions (with either the function syntax or ES2015 arrow syntax) inside the render call stack works against pure component rendering. When doing an equality check between two lambdas, React will always consider them unequal values and force the component to re-render more often than necessary.

More on

@goenning goenning added refactoring and removed refactoring labels Nov 12, 2017

@goenning goenning added this to the v0.14: April/2018 milestone May 29, 2018

@goenning goenning closed this in #410 Jun 5, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment