-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Add no-children-prop to recommended configuration #842
Milestone
Comments
I don't think this should be recommended. I feel that nested children are the entire value proposition of jsx, and if one is not using them, one should not be using jsx either. |
I think you misunderstand what the rule does. It prevents using |
Whoops, you're right. In that case, I'm 👍 |
This was referenced Sep 22, 2018
This was referenced Oct 25, 2018
1 task
1 task
1 task
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This rule prevents children from being passed in as a
children
prop and will be added by #722. It might be nice to add it to the recommended configuration. Thoughts?The text was updated successfully, but these errors were encountered: