Experimental reactive and atomic state manager. Inspired by SolidJS and S.js.
How to use it:
1. Install and import the component.
# NPM
$ npm i react-tagged-state
import { createSignal, useSignal } from ‘react-tagged-state’;
const counter = createSignal(0); const Counter = () => { const count = useSignal(counter); return <button onClick={() => counter((value) => value + 1)}>{count}</button>; };
Preview:
Download Details:
Author: oleggrishechkin
Live Demo: View The Demo
Download Link: Download The Source Code
Official Website: https://github.com/oleggrishechkin/react-tagged-state
License: MIT