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

Move validation calls behind DEV blocks #8999

Merged
merged 1 commit into from Feb 14, 2017

Conversation

sebmarkbage
Copy link
Collaborator

This was done for Fiber but not Stack, causing these to throw in prod.

This was done for Fiber but not Stack, causing these to throw in prod.
@gaearon
Copy link
Collaborator

gaearon commented Feb 14, 2017

Can you also add a test with a callback to ReactDOMProduction-test?

@bvaughn
Copy link
Contributor

bvaughn commented Feb 14, 2017

Thanks for catching this Seb. Sorry for missing it in the previous PR.

@sebmarkbage
Copy link
Collaborator Author

Instead of keep adding every case to ReactDOMProduction-test we should just make all tests be able to run in prod (maybe even flat bundles).

@sebmarkbage sebmarkbage merged commit 66bae80 into facebook:master Feb 14, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants