postact

Reactive state for your react app

Usage no npm install needed!

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

README

postact

Build Status

Reactive state for your react app

Usage

ES6 use

With StealJS, you can import this module directly in a template that is autorendered:

import plugin from 'postact';

CommonJS use

Use require to load postact and everything else needed to create a template that uses postact:

var plugin = require("postact");

Standalone use

Load the global version of the plugin:

<script src='./node_modules/postact/dist/global/postact.js'></script>