0.7.5 • Published 6 years ago

refrax v0.7.5

Weekly downloads
6
License
BSD-3-Clause
Repository
github
Last release
6 years ago

Refrax npm version npm downloads

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 refrax

Documentation

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 start

Then, just point your browser at http://localhost:3000.

License

Refrax is BSD licensed.

0.7.5

6 years ago

0.7.4

6 years ago

0.7.3

6 years ago

0.7.2

6 years ago

0.7.1

6 years ago

0.7.0

6 years ago

0.7.0-beta.6

6 years ago

0.7.0-beta.5

6 years ago

0.7.0-beta.4

6 years ago

0.7.0-beta.3

6 years ago

0.7.0-beta.2

6 years ago

0.7.0-beta.1

6 years ago

0.6.1

7 years ago

0.5.16

7 years ago

0.6.0

7 years ago

0.5.15

7 years ago

0.5.14

7 years ago

0.5.13

7 years ago

0.5.12

7 years ago

0.5.11

7 years ago

0.5.10

7 years ago

0.5.9

7 years ago

0.5.8

7 years ago

0.5.7

7 years ago

0.5.6

7 years ago

0.5.5

7 years ago

0.5.4

7 years ago

0.5.3

7 years ago

0.5.2

7 years ago

0.5.1

8 years ago

0.5.0

8 years ago

0.4.10

8 years ago

0.4.9

8 years ago

0.4.8

8 years ago

0.4.7

8 years ago

0.4.6

8 years ago

0.4.5

8 years ago

0.4.4

8 years ago

0.4.3

8 years ago

0.4.2

8 years ago

0.4.1

8 years ago

0.4.0

8 years ago

0.3.20

8 years ago

0.3.19

8 years ago

0.3.18

8 years ago

0.3.17

8 years ago

0.3.16

8 years ago

0.3.15

8 years ago

0.3.14

8 years ago

0.3.13

8 years ago

0.3.12

8 years ago

0.3.11

8 years ago

0.3.10

8 years ago

0.3.9

8 years ago

0.3.8

8 years ago

0.3.7

8 years ago

0.3.6

8 years ago

0.3.5

8 years ago

0.3.4

8 years ago

0.3.3

8 years ago

0.3.2

8 years ago

0.3.1

8 years ago

0.3.0

8 years ago

0.2.0

8 years ago

0.1.0

8 years ago