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

After upgrading to react-0.11, see if forced bootstrapping of react under test is still required #7

Open
avh4 opened this issue Jun 3, 2014 · 1 comment

Comments

@avh4
Copy link
Member

avh4 commented Jun 3, 2014

https://github.com/archetypes/js-react/blob/master/src/test/js/ReactDomTest.js#L18-L20

If it is still necessary, file a bug against facebook/react

@avh4
Copy link
Member Author

avh4 commented Jun 3, 2014

"We need a way to initialize React without relying on global state

"Following this discussion facebook/react#1287, there are complications when trying to use React in unit tests due do the fact that React will not function properly if it is required when global.window is not set..."

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

1 participant