In react@0.13.3, 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.
In react@0.13.3, 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.