新的版本Babel的Namespace的改变/Update

前提 如何安装react: https://medium.freecodecamp.org/part-1-react-app-from-scratch-using-webpack-4-562b1d231e75 新的babal的namespace在之前有个@(babel 8.x以上) The rece ... ...

Redux的最基本样本代码(Immutable)

Redux其实就这样的一回事,十分的简单。 import { createStore } from "redux"; const initialState = { counter: 0 }; //Reducer function reducer(state = initialState, actio ... ...

升级node为更高的版本

sudo apt-get update && sudo apt-get -y upgrade If to install Node.js Version – 4.x curl -sL https://deb.nodesource.com/setup_4.x | sudo -E bas ... ...