@obsidize/rx-map

ES6 Map with rxjs extensions for change detection

Usage no npm install needed!

<script type="module">
  import obsidizeRxMap from 'https://cdn.skypack.dev/@obsidize/rx-map';
</script>

README

@obsidize/rx-map

A simple application state management mechanism reminiscent of @ngrx/entity EntityAdapter API.

This module differs from ngrx / redux in that it does not bother with the concept of actions / effects / reducers.

Rather, this module supplies a few simple base-line classes to build up a state structure that can be observed for changes and mutated directly (thus bypassing the constructs listed above).

Installation

  • npm:
npm install --save @obsidize/rx-map
  • git:
npm install --save git+https://github.com/jospete/obsidize-rx-map.git

Usage

See the General Usage and RxStore test suites to get a feel for how to use this module.

API

Source documentation can be found here