Redux-Part-III

前情提要角色 生產者 - 產出任務 store.dispatch 消費者 - 消費任務 saga function channel - 暫存任務的地方 Redux-Saga 的組成 createMiddleware effects Channel...

React

Redux-Part-II

Thunk經過上一篇了解了 Redux 和如何實做 Middleware 之後 再來看看 Thunk 到底做了什麼事情呢? What is Thunk?Thunk 是一個 Function 主要功用是將結果延遲到需要的時候再執行這個 Functi...

React

Redux-Part-I

ReduxReact ReduxFlux 的實作之一 有一個共同的 Store 儲存資料 透過 Middleware 來控制工作流 發起 Action 來通過工作流之後 透過 Reducer 來修改 Store 內的資料 再藉由 Store 的資料來...

React

React-Native-connect-server

Initial React Native1$ npx react-native init imapp && cd imapp Run on ios1$ npx react-native-run-ios Install Socket...

SocketCluster

React Native-Platform

PlatformPlatform Specific Code在初期的時候可以利用檔案模式來做整合 可以將檔案名稱命名為 .ios.js 和 .android.js 然後在不同的平台上 require 不同的檔案 Example12BigButton....

React Native

RN-JestInReactNative

Initial project我又重新來接觸一次 React Native 但是修改的部分太多了 重新做了一次部署架構 發現又多了一些問題 紀錄一下過程 一開始一定是先 initial project helloworld 1234567891011...

React Native

RN-code-push

Initial React Native App1$ npx react-native init codepushdemo && cd codepushdemo Install code push123456789101112131...

React Native

ReasonReact-publish-package

Initial Project1$ bsb -init helloworld -theme basic-reason 移除 src/Demo.re 新增一個 src/index.re src/index.re 1let add = (a:...

Reason

ReasonReact-Todo-Tutorial-PartII

Action昨天進度到了完成了一個 Reducer 但是我們知道要修改 Reducer 只能夠透過 Action 而在 ReasonReact 如何描述一個 Action? 12345678910111213141516171819202122232...

Reason

ReasonReact-Todo-Tutorial-PartIII

Rendering items希望有一個區塊 Component 來顯示輸入的 items 1234567891011121314151617181920212223242526272829303132333435363738394041424344...

Reason
12