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

app/main.js line 8: React.render(new ReactApp({}), mountNode) #14

Open
idamag opened this issue Sep 30, 2015 · 1 comment
Open

app/main.js line 8: React.render(new ReactApp({}), mountNode) #14

idamag opened this issue Sep 30, 2015 · 1 comment

Comments

@idamag
Copy link

idamag commented Sep 30, 2015

In [email protected], it will cause error: Uncaught Error: Invariant Violation: React.render(): Invalid component element. This may be caused by unintentionally loading two independent copies of React.

But change the code to React.render(<ReactApp />,mountNode),it will be correct.

@zonakusu
Copy link

This fixed my problem, thanks a lot!

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