reactjs101 icon indicating copy to clipboard operation
reactjs101 copied to clipboard

從零開始學 ReactJS(ReactJS 101)是一本希望讓初學者一看就懂的 React 中文入門教學書,由淺入深學習 ReactJS 生態系 (Flux, Redux, React Router, ImmutableJS, React Native, Relay/GraphQL etc.)。

Results 60 reactjs101 issues
Sort by recently updated
recently updated
newest added

各位前輩好~ 我正開始學習react 有個小疑問 由於react 16.8之後 可以使用hook了 (useState / useEffect .... ) 這樣子的話 不論 state or stateless component 都可以用funciotn的方式寫會比較好呢? 先謝謝各位回答的前輩了

If I click on https://www.gitbook.com/book/kdchang/react101/details it keeps on taking me to https://legacy.gitbook.com/book/kdchang/react101/details (LEGACY website) and then it will not let me see the book, but ask me to Sign up...

configuration.module has an unknown property 'loaders'. ![image](https://user-images.githubusercontent.com/11910067/39741521-dd5f8098-52cc-11e8-8af4-22ae8b9fbabb.png) I found the solution [here](https://stackoverflow.com/questions/49203841/webpack-4-1-1-configuration-module-has-an-unknown-property-loaders) Is this problem due to webpack version?

Hi, Webpack 2.x將loader換成rules webpack.config.js的內容需要修改 另外隨版本開發,webpack-cli獨立出來,因此需要獨立安裝webpack-cli babel-preset-es2015即將過期,要改裝babel-preset-env,並且在webpack.config.js中要把 presets: ['es2015', 'react'],改成presets: ["env", "react"],

scripts 中已經添加這行: "dev": "webpack-dev-server --devtool eval --progress --colors --content-base build", 但terminal還是顯示錯誤,好像是要叫我裝webpack 但按照他給我的提示npm install webpack-cli -D 之後還是出錯 以下是報錯信息,有人知道怎麼解決嗎 The CLI moved into a separate package: webpack-cli. Please install 'webpack-cli' in addition...