reactjs101
reactjs101 copied to clipboard
從零開始學 ReactJS(ReactJS 101)是一本希望讓初學者一看就懂的 React 中文入門教學書,由淺入深學習 ReactJS 生態系 (Flux, Redux, React Router, ImmutableJS, React Native, Relay/GraphQL etc.)。
在编译ch09的代码时出现以下错误。能帮忙解决一下吗? ERROR in ./~/react-tap-event-plugin/src/injectTapEventPlugin.js Module not found: Error: Cannot resolve module 'react/lib/EventPluginHub' in D:\reactjs101-master\Ch09\react-router-redux-github-finder\node_modules\react-tap-event-plugin\src @ ./~/react-tap-event-plugin/src/injectTapEventPlugin.js 23:2-37 ERROR in ./~/react-tap-event-plugin/src/TapEventPlugin.js Module not found: Error: Cannot resolve module 'react/lib/EventConstants' in D:\reactjs101-master\Ch09\react-router-redux-github-finder\node_modules\react-tap-event-plugin\src...
src/store/configurationStore.js import createLogger from 'redux-logger'; => import { createLogger } from 'redux-logger'; for redux-logger v3.0.0
1.修改todoReducer, uiReducer檔案路徑,使其和參考的檔案相符 ex: 在todoReducers.js 中 import ui from './ui/uiReducers'; //會找不到檔案 2. 增加src/reducer/index.js說明
close #81, close #85
# Ch07 - flux ## 路徑錯誤 >在這個範例中我們繼承了 Facebook 提供的 Dispatcher API(主要是繼承了 dispatch、register 和 subscribe 的方法),打造自己的 DispatcherClass,當使用者觸發 handleAction() 會 dispatch 出事件。以下是 src/dispatch/AppDispatcher.js: `src/dispatch/AppDispatcher.js` 應為 `src/dispatcher/AppDispatcher.js`
前言錯字: `tyoe` 以下這張圖表示了整個 React Redux App 的資料流程圖(使用者與 View 互動 => dispatch 出 Action => Reducers 依據 action `tyoe` 分配到對應處理方式,回傳新的 state => 透過 React Redux 傳送給 React,React 重新繪製 View):
一些教學的網站會放整個專案目錄架構 相信這樣對於創建一些js或是config之類的位置會比較清楚
I found out an error on react/lib/EventPluginHub, so I upgrade the package following the guide of https://github.com/prescottprue/generator-react-firebase/issues/24
附錄二、用 React Native + Firebase 開發跨平台行動應用程式 自行解決了redux-logger的版本問題 及TextInput無法顯示的問題後 頁面還是無法顯示submit進去的mottolist 但資料確認有進入firebase 能否確認程式是否能正確運行? 謝謝QQ 