Functional reactive UI library
Перейти к файлу
gozala 051c1254e6
Fix invalid comment.
2016-05-06 17:42:18 -07:00
src Fix invalid comment. 2016-05-06 17:42:18 -07:00
.babelrc Change Task and Effects APIs 2016-03-18 00:42:04 -07:00
.flowconfig Ignore json5 wherever it comes from. 2016-04-19 14:09:08 -07:00
.gitignore Ignore dist folders. 2015-10-01 00:04:19 -07:00
.npmignore Do not ignore lib or dist directories. 2016-03-19 00:41:10 -07:00
.travis.yml Update travis config. 2015-10-20 00:47:55 -07:00
History.md Version 0.0.3 2012-12-02 14:36:38 -08:00
License.md Initial version. 2012-10-20 15:51:48 -07:00
Readme.md copy edit readme 2015-11-04 11:36:18 -08:00
package.json Update to latest flow-bin 2016-05-05 13:25:58 -07:00

Readme.md

reflex NPM version Build Status Gitter

Reflex is a functional reactive UI library that is heavily inspired by (pretty much is a port of) elm and it's amazingly simple yet powerful architecture where "flux" in react terms is simply a byproduct of a pattern. In order to keep a major attraction of elmalgebraic data types & type safety — the library uses flow, a static type checker for JS. All types are separated from implementation though, so it's your call if you want to take take advantage of it or just ignore it.

The library is designed such that view drivers (react, virtual-dom & possibly more in the future) can be swapped without any changes to the application code base. In fact there is not a built-in view driver, so it's up to the user to choose one. In fact it's pretty easy to write a driver that would directly manipulate DOM.

Install

npm install reflex

Examples

For examples check out examples directory of either virtual-dom or react drivers, in fact examples are identical only diff is one line which is path of imported driver.