rescope
Intuitive & scalable state management system based on flux architecture, stores data components & inheritable scopes
Last updated 2 months ago by n8tz .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install rescope 
SYNC missed versions from official npm registry.

ReScope

Flexible State management system based on flux architecture, stores data components & inheritable scopes

Build Status Build Status

Related packages

React HOCs, decorators & tools : react-scopes
ReScope HOCs, decorators & tools : rescope-spells

ReScope What ?

ReScope is a flexible, effective and easy to use state management system inspired by ReactJS methods.

What's the point ?

The set of data transformations of one or more applications can be divided into reusable data components with reactive state and result data. Just like React Components, for data.
Of course, that's quickly said, in an application, the data must deal with complex dependencies, different contexts, custom data bindings, and so on.

This is where reScope comes in:
RS provide a effective, flexible and familiar structure to organize and synchronize your data components.
It manage theirs dependencies, theirs scopes, sequencing, persistence, active instances & much more.

This way all the data components :

  • Only use 1 file for theirs initial state, actions & mutations
  • Only care about theirs specialized task
  • Can be easily & independently tested
  • Can have different behaviors basing on theirs scope

How ?

By using independent, specialized & serializable "Data Stores" in a Flux oriented architecture.

Stores ?

ReScope stores look like "React components for data".
Basically, they render determined data according theirs entry state, theirs dependencies, and theirs action.

Actions generate mutations of one or multiple stores,
So each Stores can manage part of, or the entire App state's determining values,
maintain intermediate, possibly asynchronous resources,
and/or finals or ready-to-render data.

Scopes ?

To deal with complex architectures like multi user or complex components systems, the Scopes allow :

  • normalized scopes for modules & views
  • to inherit & mix other Scopes,
  • automatic & chained destroy
  • ...

Samples & bootstraps here

Todo ?

  • Many more tests
  • Should be rewritten completely using a more functional approach ( but as react context seems taking similar path & rs is made probono it will not )

HitCount Buy Me A Coffee

Current Tags

  • 4.5.6                                ...           latest (2 months ago)

163 Versions

  • 4.5.6                                ...           2 months ago
  • 4.5.5                                ...           3 months ago
  • 4.5.4                                ...           3 months ago
  • 4.5.3                                ...           3 months ago
  • 4.5.2                                ...           3 months ago
  • 4.5.1                                ...           4 months ago
  • 4.5.0                                ...           4 months ago
  • 4.4.5                                ...           4 months ago
  • 4.4.4                                ...           6 months ago
  • 4.4.3                                ...           6 months ago
  • 4.4.2                                ...           6 months ago
  • 4.4.1                                ...           6 months ago
  • 4.4.0                                ...           6 months ago
  • 4.3.12                                ...           7 months ago
  • 4.3.10                                ...           8 months ago
  • 4.3.9                                ...           9 months ago
  • 4.3.8                                ...           9 months ago
  • 4.3.7                                ...           9 months ago
  • 4.3.6                                ...           9 months ago
  • 4.3.5                                ...           9 months ago
  • 4.3.3                                ...           a year ago
  • 4.3.2                                ...           a year ago
  • 4.3.1                                ...           a year ago
  • 4.3.0                                ...           a year ago
  • 4.2.2                                ...           a year ago
  • 4.2.1                                ...           a year ago
  • 4.2.0                                ...           a year ago
  • 4.1.2                                ...           a year ago
  • 4.1.1                                ...           a year ago
  • 4.1.0                                ...           a year ago
  • 4.0.8                                ...           a year ago
  • 4.0.7                                ...           a year ago
  • 4.0.6                                ...           a year ago
  • 4.0.5                                ...           a year ago
  • 4.0.4                                ...           a year ago
  • 4.0.3                                ...           a year ago
  • 4.0.2                                ...           a year ago
  • 4.0.1                                ...           a year ago
  • 4.0.0                                ...           a year ago
  • 4.0.0-beta.2                                ...           2 years ago
  • 4.0.0-beta.1                                ...           2 years ago
  • 4.0.0-beta.0                                ...           2 years ago
  • 3.7.3                                ...           2 years ago
  • 3.7.2                                ...           2 years ago
  • 3.7.1                                ...           2 years ago
  • 3.7.0                                ...           2 years ago
  • 3.6.15                                ...           2 years ago
  • 3.6.14                                ...           2 years ago
  • 3.6.13                                ...           2 years ago
  • 3.6.12                                ...           2 years ago
  • 3.6.11                                ...           2 years ago
  • 3.6.10                                ...           2 years ago
  • 3.6.8                                ...           2 years ago
  • 3.6.7                                ...           2 years ago
  • 3.6.6                                ...           2 years ago
  • 3.6.5                                ...           2 years ago
  • 3.6.4                                ...           2 years ago
  • 3.6.3                                ...           2 years ago
  • 3.6.2                                ...           2 years ago
  • 3.6.1                                ...           2 years ago
  • 3.6.0                                ...           2 years ago
  • 3.5.4                                ...           2 years ago
  • 3.5.2                                ...           2 years ago
  • 3.5.1                                ...           2 years ago
  • 3.5.0                                ...           2 years ago
  • 3.4.6                                ...           2 years ago
  • 3.4.5                                ...           2 years ago
  • 3.4.4                                ...           2 years ago
  • 3.4.3                                ...           2 years ago
  • 3.4.2                                ...           2 years ago
  • 3.4.1                                ...           2 years ago
  • 3.4.0                                ...           2 years ago
  • 3.3.10                                ...           2 years ago
  • 3.3.9                                ...           2 years ago
  • 3.3.8                                ...           2 years ago
  • 3.3.7                                ...           2 years ago
  • 3.3.6                                ...           2 years ago
  • 3.3.5                                ...           2 years ago
  • 3.3.4                                ...           2 years ago
  • 3.3.3                                ...           2 years ago
  • 3.3.2                                ...           2 years ago
  • 3.3.1                                ...           2 years ago
  • 3.3.0                                ...           2 years ago
  • 3.2.7                                ...           2 years ago
  • 3.2.6                                ...           2 years ago
  • 3.2.5                                ...           2 years ago
  • 3.2.4                                ...           2 years ago
  • 3.2.3                                ...           2 years ago
  • 3.2.2                                ...           2 years ago
  • 3.2.1                                ...           2 years ago
  • 3.2.0                                ...           2 years ago
  • 3.1.44                                ...           2 years ago
  • 3.1.43                                ...           2 years ago
  • 3.1.42                                ...           2 years ago
  • 3.1.41                                ...           2 years ago
  • 3.1.4                                ...           2 years ago
  • 3.1.3                                ...           2 years ago
  • 3.1.2                                ...           2 years ago
  • 3.1.1                                ...           2 years ago
  • 3.1.0                                ...           2 years ago
  • 3.0.3                                ...           2 years ago
  • 3.0.2                                ...           2 years ago
  • 3.0.1                                ...           2 years ago
  • 3.0.0                                ...           2 years ago
  • 2.1.14                                ...           2 years ago
  • 2.1.13                                ...           2 years ago
  • 2.1.12                                ...           2 years ago
  • 2.1.11                                ...           2 years ago
  • 2.1.10                                ...           2 years ago
  • 2.1.9                                ...           2 years ago
  • 2.1.8                                ...           2 years ago
  • 2.1.7                                ...           2 years ago
  • 2.1.6                                ...           2 years ago
  • 2.1.5                                ...           2 years ago
  • 2.1.4                                ...           2 years ago
  • 2.1.3                                ...           2 years ago
  • 2.1.2                                ...           2 years ago
  • 2.1.1                                ...           2 years ago
  • 2.1.0                                ...           2 years ago
  • 2.0.7                                ...           2 years ago
  • 2.0.6                                ...           2 years ago
  • 2.0.5                                ...           2 years ago
  • 2.0.4                                ...           2 years ago
  • 2.0.3                                ...           2 years ago
  • 2.0.2                                ...           2 years ago
  • 2.0.1                                ...           2 years ago
  • 2.0.0                                ...           2 years ago
  • 1.7.6                                ...           2 years ago
  • 1.7.5                                ...           2 years ago
  • 1.7.4                                ...           2 years ago
  • 1.7.2                                ...           2 years ago
  • 1.7.1                                ...           3 years ago
  • 1.7.0                                ...           3 years ago
  • 1.6.0                                ...           3 years ago
  • 1.5.1                                ...           3 years ago
  • 1.5.0                                ...           3 years ago
  • 1.4.0                                ...           3 years ago
  • 1.3.6                                ...           3 years ago
  • 1.3.5                                ...           3 years ago
  • 1.3.4                                ...           3 years ago
  • 1.3.3                                ...           3 years ago
  • 1.3.2                                ...           3 years ago
  • 1.3.1                                ...           3 years ago
  • 1.3.0                                ...           3 years ago
  • 1.2.0                                ...           3 years ago
  • 1.1.9                                ...           3 years ago
  • 1.1.8                                ...           3 years ago
  • 1.1.7                                ...           3 years ago
  • 1.1.6                                ...           3 years ago
  • 1.1.5                                ...           3 years ago
  • 1.1.4                                ...           3 years ago
  • 1.1.3                                ...           3 years ago
  • 1.1.2                                ...           3 years ago
  • 1.1.1                                ...           3 years ago
  • 1.1.0                                ...           3 years ago
  • 1.0.8                                ...           3 years ago
  • 1.0.7                                ...           3 years ago
  • 1.0.6                                ...           3 years ago
  • 1.0.5                                ...           3 years ago
  • 1.0.4                                ...           3 years ago
  • 1.0.2                                ...           3 years ago
  • 1.0.1                                ...           3 years ago
  • 1.0.0                                ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 2
Dependencies (2)

Copyright 2014 - 2016 © taobao.org |