UNPKG

kosha

Version:

⚡A modern, lightweight, fast, and powerful global state management library for modern React.js projects.

2 lines (1 loc) 210 B
import{a as r}from"../chunk-PVJDJHKI.mjs";var o=new Set,S=e=>{let t=r(e),s=t.getState();return o.add(()=>t.setState(s,!0)),t},p=()=>o.forEach(e=>e());export{S as create,p as resetAllStores,o as storeResetFns};