0.11.0 • Published 6 years ago

stata v0.11.0

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

Stata Travis npm bundle size (minified + gzip)

Super simple state management

https://www.npmjs.com/package/stata

What this does

  • Creates a store of state based on an initial state
  • Automatically binds action creators into action methods, which are returned as an object
  • Automatically dispatches and calls render function (with current state and actions) when action methods are called

What this doesn't do

Strong emphasis on YAGNI

  • Allow multiple subscribers
  • Allow unsubscribe
  • Dynamically add actions
  • Expose dispatch
  • Serializable actions or action history

How to use

Check out this codepen that uses preact as the rendering engine.

0.11.0

6 years ago

0.10.0

6 years ago

0.9.0

6 years ago

0.8.0

6 years ago

0.7.0

6 years ago

0.6.0

6 years ago

0.5.0

6 years ago

0.4.0

6 years ago

0.3.0

6 years ago

0.2.0

6 years ago

0.1.0

6 years ago