ReactJS Notes

  1.  SyntaxError: /home/rao/workspace/go-ws/src/naira7/naira7-web/js/index.js: Unexpected token (41:12)

Often caused by missing .babel.rc file

  1.  /usr/bin/env: node: No such file or director

Caused by file watcher's environment varaible settings

 

3. nomatch index.html

IDE output directory 没有设置, 编译后的二进制程序在tmp里

 

  1. 在线测试资源

CodePen

  1. <ABC /> 与 <abc> </abc>

单Tag用于表示React组件, 双Tag多是原生HTML标签