项目作者: codevcode

项目描述 :
藉由開發簡單表單的過程,介紹 Higher-order Component 的概念與示範 Recompose 的基本使用。Introduce the concept of the Higher-order Component and the basic usage of Recompose through developing a simple form.
高级语言: JavaScript
项目地址: git://github.com/codevcode/intro-recompose.git
创建时间: 2016-11-29T13:18:53Z
项目社区:https://github.com/codevcode/intro-recompose

开源协议:

下载


intro-recompose

[video]

藉由開發簡單表單的過程,介紹 Higher-order Component 的概念與示範 Recompose 的基本使用。

Introduce the concept of the Higher-order Component and the basic usage of Recompose
through developing a simple form.

安裝及啟動 Install and Luanch

  1. git clone https://github.com/codevcode/intro-recompose.git
  2. npm install
  3. npm run dev
  4. http://localhost:8080

問題討論 Issues

歡迎在 Issues 提供建議與討論問題

Suggestions and discussions are welcom. Please file Issues

建構使用套件 Used Libraries

  • React - Javascript library for buiding user interface.
  • Recompose - React utility belt for function components and higher-order components.

開發用套件 Used Dev Libraries

  • Babel - JavaScript compiler. Use next generation JavaScript, today.
  • webpack - Bundle JavaScript files for usage in a browser.
  • ESLint - The pluggable linting utility for JavaScript and JSX.

相關文章 Further Reading

  • Higher-order Components by Sebastian Markbåge
  • @dan_abramov/smart-and-dumb-components-7ca2f9a7c7d0#.orkjznnut">Presentational and Container Components by Dan Abramov(Created Redux)
  • @dan_abramov/mixins-are-dead-long-live-higher-order-components-94a0d2f9e750#.893iy07gr">Mixins Are Dead. Long Live Composition by Dan Abramov(Created Redux)
  • @franleplant/react-higher-order-components-in-depth-cf9032ee6c3e#.oxu90ok2t">React Higher Order Components in depth by franleplant