Counter 1.1 (新加了一条HP bar)

Counter 1.1: – 新加了一条HP bar; – 使用了Inline Style for the component; import React from 'react'; import ReactDOM from 'react-dom'; import { con ... ...

一个赖人的方法用react-redux dispatch

用到的方法很简单,ES6 Object Destructuring. import React from 'react'; import ReactDOM from 'react-dom'; import { connect } from 'react-redux'; //Import scss i ... ...

最简单的REACT程序加CSS & SASS

import React from 'react'; import ReactDOM from 'react-dom'; //External SASS & CSS import './scss/style.scss'; import './css/style.css'; //The sty ... ...