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

fix react check to work in prod #26

Merged
merged 1 commit into from Jun 25, 2018
Merged

Conversation

chen-ye
Copy link
Contributor

@chen-ye chen-ye commented Jun 21, 2018

Addresses #25 by removing the _store check.

More specificity can be added by depending upon https://github.com/facebook/react/blob/master/packages/shared/ReactSymbols.js and comparing $$typeof as mentioned in https://github.com/facebook/react/blob/master/packages/react/src/ReactElement.js#L92.

@chrisbolin
Copy link
Contributor

Awesome! Thank you so much @chen-ye. let me run a few tests on this

@chrisbolin chrisbolin merged commit 8033b32 into FormidableLabs:master Jun 25, 2018
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

Successfully merging this pull request may close these issues.

None yet

2 participants