This note is about the Electron.
Proxy problem
Install electron problem (darwin)
Packaging app
–overwrite can be used to overwrite old app
–no-prune without this flag, modules are not included in app
ES2015
Babel is needed to converter the code
make file .babelrc
in main.js if want to import then use const Person = PersonJS.default not only person since it is not written in ES6
React
dynamically update render(): state and setState are needed
when add a list of element key is needed for each element or it will have a warning
Bootstrap
there are several dependencies i choose react-bootstrap for test
event like onChange, onClick…… either this.handleChange = this.handleChange.bind(this); or (e) => this.handleChange(e)
Redux (Upcoming)
Webpack
竟然无法拒绝你的打赏