@nx-js/observe-middleware

An NX middleware, responsible for reactivity and observables.

Usage no npm install needed!

<script type="module">
  import nxJsObserveMiddleware from 'https://cdn.skypack.dev/@nx-js/observe-middleware';
</script>

README

The observe middleware

The observe middleware wraps the state in an observable and handles observability.

  • name: observe
  • middleware dependencies: none
  • all middleware dependencies: none
  • type: component or content middleware
  • docs

Installation

npm install @nx-js/observe-middleware

Usage

const component = require('@nx-js/core')
const observe = require('@nx-js/observe-middleware')

component()
  .useOnContent(observe)
  .register('observing-comp')