mirror of
https://github.com/facebook/react.git
synced 2026-11-18 20:15:56 +00:00
Update README's example
According to current React version, when I use `React.render`, console shows `React.render is deprecated. Please use ReactDOM.render from require('react-dom') instead.`.
So this PR is a tiny update for the README example.
(cherry picked from commit 2b136a4f84)
This commit is contained in:
1 parent
8ab0651158
commit
e0f74c6c6c
1 file changed
+1
-1