context-api-store

State management tool

Usage no npm install needed!

<script type="module">
  import contextApiStore from 'https://cdn.skypack.dev/context-api-store';
</script>

README

Context-store

  • Based on React Context API
  • Mutliple Stores
  • Providing decorators api
  • Providing a caching mechanism out of the box

Synopsys

This tiny(size: 12kb) library provides a store management tool based on React Context API. The main concept is not having huge amount of switch cases in code, but just do a single update on a branch of your store.

Technical stack

  • ES6
  • React(v^16.3.0)

Example

You can play with it in sandbox