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

React expose prop types validator #5942

Closed
cdosborn opened this issue Jan 29, 2016 · 2 comments
Closed

React expose prop types validator #5942

cdosborn opened this issue Jan 29, 2016 · 2 comments

Comments

@cdosborn
Copy link

As a potential feature, could React expose a propsDidValidate() method or the like?

@jimfb
Copy link
Contributor

jimfb commented Jan 31, 2016

For what purpose? What is your use case?

@cdosborn
Copy link
Author

cdosborn commented Feb 1, 2016

After further thought, I'm thinking this is not something that should be included in React. After all, it is possible to write custom prop type validators.

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

2 participants