天蓬老师2017-04-17 16:27:55
If you just want to run it and see the effect, you can introduce 3 js files, one react, one react.dom and one browser.js. Then you can see the effect. Browser is used to translate react syntax for browser recognition. Or there is a website where you can view the code effects online https://codepen.io/gaearon/pe...
If you want to learn more about it, you can read this blog. If you follow what he writes, you can definitely start running.
http://blog.csdn.net/starryni...