mutoid

Reactive library for data fetching, caching, state management (also) for isomorphic applications

Usage no npm install needed!

<script type="module">
  import mutoid from 'https://cdn.skypack.dev/mutoid';
</script>

README

Mutoid

Reactive library for data fetching, caching, state management (also) for isomorphic applications

Installation

npm install mutoid

If you want to use io-ts decoder in data fetching or cache

npm install io-ts

If you want also to use it with react

npm install react

Note rxjs, fp-ts,fp-ts-rxjs are required peer dependencies. Instead react and io-ts are an optional peer dependencies.

Documentation

https://engineering.facile.it/mutoid

Example

If you want to see a simple app
If you clone this repo, you can run the example with

npm install
npm run dev-server

Test

Unit, lint and cs

npm run test

Type level

npm run test-type