-
Notifications
You must be signed in to change notification settings - Fork 6.1k
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
Why is react/prefer-stateless-function
disabled?
#1070
Comments
I see. Thanks for clarifying. |
Shouldn't |
There's an update coming (don't recall which package) that's expected to fix this issue. Disabling in package.json might lead to forgetting about it, but an open issue is probably a better reminder. |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
In many places, it seems like the eslint rule
react/prefer-stateless-function
is disabled. What was the reasoning for this decision? Personally, I think stateless components is one of the best parts of react because it emphasizes how the UI is a pure function of the state.The text was updated successfully, but these errors were encountered: