reduced-state

Minimalistic redux-like state management.

Usage no npm install needed!

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

README

Reduced state

This is a minimalistic implementation of redux. It features:

  • combineReducers.
  • dispatch.
  • state.
  • subscribe / unsubscribe.

Nothing else.

Motivations

It must run inside really tiny devices (IoT, smartwatches, etc.) where:

  • You have to use ES5 compatible code.
  • You have memory constraints: this module doesn't have development features like runtime checks, warnings or errors. You're an experienced developer so you know how to use redux.