react Exercises

Project address: https: //gitee.com/dhclly/icedog.react

React practice project

Links to related resources

  • React official https://reactjs.org
  • React Chinese https://zh-hans.reactjs.org
  • React document https://react.docschina.org
  • React Getting Started tutorial examples http://www.ruanyifeng.com/blog/2015/03/react.html
  • React introductory tutorial Demo https://github.com/ruanyf/react-demos
  • https://www.runoob.com/react

React practice requirements

  • react
  • react-dom
  • browser.js or babel.js

Related aid

  • react dev tool
  • visual studio code
  • vsc plug-in preview on borwser

build catalog description

build directory contains three subdirectories

  • babel-core
  • react
  • react-dom
  • babel

By linking known
https://blog.csdn.net/wopelo/article/details/77844916

Starting Babel 6.0, no longer provides a browser version, but use the build tool to build out here can be solved by babel-core module is installed older versions of

npm install -g babel-core@old

Such sub-installed version should be 5.8.x, there will be babel-core in node_modules, which is all about the babel.

Practice project js directory under the babel from Ruan Yifeng, should be the new version of the compiler results set

https://github.com/ruanyf/react-demos/tree/master/build

https://raw.githubusercontent.com/ruanyf/react-demos/master/build/babel.min.js

Guess you like

Origin www.cnblogs.com/DHclly/p/11332599.html