{"repo":"arnelenero/simpler-state","free":true,"listed":false,"github":"https://github.com/arnelenero/simpler-state","clone":"git clone https://github.com/arnelenero/simpler-state.git","description":"The simplest app state management for React","language":"JavaScript","stars":481,"topics":["react","state","hooks"],"license":"MIT","category":"saas-starters-boilerplates","readme_excerpt":"SimpleR State is an ultra-lightweight library that provides the simplest state management for React. - Minimalist API ; no complicated concepts or boilerplate - Use plain functions to update state (including async) - Largely unopinionated with flexible syntax - Extremely simple to unit test state logic - Highly extensible with plug-ins (e.g. persistence, dev tools) - Full TypeScript support with uncomplicated types - Made specifically for React, and built on React Hooks - Fully supports React 18 Concurrent Mode - Multiple times faster than context/reducer solution - It's tiny, just around 1 KB (minified + gzipped) Get all these benefits with one dependency install: Two Easy Steps! Step 1: Create an entity (shared state) and actions (updater functions) Step 2: Use the entity in your components with hooks It's that simple! But the library can do a lot more, so check out the docs website. Documentation Learn more about what you can do with SimpleR State at simpler-state.js.org. Feedback If you like this library, the concept, and its simplicity, please give it a star ⭐️ on the GitHub repo to let me know. 😀 The RFC (Request For Comments) has ended, but please feel free to open an issue on GitHub for any concerns/questions/suggestions. Prior Art This library is an evolution of the already production-proven react-entities that I also wrote. It shares the same stable core, but with a very different API.","default_branch":null,"files":null,"tree":[],"storefront":"/r/arnelenero","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/arnelenero/simpler-state/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}