Functional reactive UI library
Перейти к файлу
Irakli Gozalishvili c5e75e98bc
Merge pull request #66 from mozilla/dependabot/npm_and_yarn/tar-2.2.2
Bump tar from 2.2.1 to 2.2.2
2019-10-31 10:23:02 -07:00
src Factor out driver definition from reflex. 2017-07-03 11:46:25 -07:00
test Move tests. 2017-06-26 11:22:15 -07:00
.babelrc Fix source-map generation. 2017-06-27 14:50:14 -07:00
.flowconfig Update package configuration. 2017-06-26 11:17:58 -07:00
.gitignore Move tests. 2017-06-26 11:22:15 -07:00
.npmignore Refactor code base. 2017-06-21 17:41:59 -07:00
.travis.yml Update travis config. 2015-10-20 00:47:55 -07:00
CODE_OF_CONDUCT.md Add Mozilla Code of Conduct file 2019-03-27 21:08:27 -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 Update readme. 2017-07-03 15:40:57 -07:00
package.json Version 1.1.0 2017-07-03 14:41:48 -07:00
yarn.lock Merge pull request #66 from mozilla/dependabot/npm_and_yarn/tar-2.2.2 2019-10-31 10:23:02 -07:00

Readme.md

reflex NPM version Build Status Gitter styled with prettier

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 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.