1.0.9 • Published 2 years ago
protai v1.0.9
protai
A minimalistic Jotai-like state management system for Preact.
Features a custom made useSyncExternalStore hook for Preact too!
Usage
- Install the package
npm install protai - Make use of the
useAtomanduseAtomValuehooks as though you were using the regular Jotai package!
(Extremely) heavily based on John Herrington's video below: