refrax v0.7.5
Refrax

Refrax is a JavaScript framework for building api-based data-driven applications. Inspired by collaboration with sarahhenkens and omab and concepts from similar libraries.
- Unidirectional: User interaction in views propagate actions that affect stores, triggering view updates for those that reference data from affected stores.
- Colocation: Resources and actions can live next to the views that rely on them, so you can easily reason about your app.
- Partials: Data can be partially represented across various resources allowing views to efficiently fetch a small subset of data that can be re-used when a more detailed subset of data is needed.
- Mutations: Refrax lets you mutate data on the client and propagate to a server using actions and mutable resources directly, and offers automatic data consistency, optimistic updates, and error handling.
Installation
Using npm:
$ npm install --save refraxDocumentation
Example
The repository comes with an implementation of TodoMVC. To try it out:
git clone https://github.com/netarc/refrax.git
cd refrax/examples/todo && npm install
npm startThen, just point your browser at http://localhost:3000.
License
Refrax is BSD licensed.
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago