-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Rule prop-types causes crash on nested props #2123
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
Labels
Comments
This is fixed in master; I'll close it with your test case. |
This was referenced Jan 17, 2019
Merged
1 task
This was referenced Jan 17, 2019
chore(deps): update dependency eslint-plugin-react to v7.12.4
samouss/react-infinite-scroll-list#321
Merged
Merged
Closed
This was referenced Jan 17, 2019
Merged
This was referenced Sep 22, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The following code triggers an ESLint crash:
Stack trace:
This is caused by the nested prop in the
setState()
function. When the nesting is one level less deep, the error goes away. So the following code can be linted just fine:This is probably related to #2095.
The text was updated successfully, but these errors were encountered: