RN-code-push
Initial React Native App1$ npx react-native init codepushdemo && cd codepushdemo Install code push123456789101112131...
Initial React Native App1$ npx react-native init codepushdemo && cd codepushdemo Install code push123456789101112131...
LifeCycleReasonReact 也有類似 ReactJS 的生命週期 didMount: self => unit willReceiveProps: self => state shouldUpdat...
Work With Dronedrone.yml 1234567891011121314151617181920212223242526272829303132333435pipeline: scp: image: appleboy/dron...
Initial Project1$ bsb -init helloworld -theme basic-reason 移除 src/Demo.re 新增一個 src/index.re src/index.re 1let add = (a:...
Action昨天進度到了完成了一個 Reducer 但是我們知道要修改 Reducer 只能夠透過 Action 而在 ReasonReact 如何描述一個 Action? 12345678910111213141516171819202122232...
Rendering items希望有一個區塊 Component 來顯示輸入的 items 1234567891011121314151617181920212223242526272829303132333435363738394041424344...
調整 initial 的 project之前我們有用 bsb initial 了一個 project 但是要做一些小小的調整 先新增一個 .re TodoApp.re 1234567891011121314let component = Reason...
External Mongo client12345let url = "mongodb://localhost:27017";let dbName = "myproject";[@bs.module &quo...
ComponentCreationReasonReact 不需要 class 來建立 Component 提供一個建立的 API 會回傳一個 record 他的欄位是可以覆寫的(就像 render, initialState, didMount… 之...
Install這部分和 Reason 一樣 只是提供了一個 react theme 123$ npm install -g bs-platform$ bsb -init reason-react-demo -theme react$ cd reaso...