react-isomorphic-state

global state without context, supports immutablity

Usage no npm install needed!

<script type="module">
  import reactIsomorphicState from 'https://cdn.skypack.dev/react-isomorphic-state';
</script>

README

react-isomorphic-state

global state for react with no context

why i don't like context or any lib using it.

we have two cases

  1- we have one context wraps your entire app
  <!-- so when a context gets updated it will rerender all components that use that context -->

  2- if your app app gets larger you will probably use multi contexts wrapping each other