4 ms·
hi thanks for building this - i'm struggling with finding a good state management react workflow too. could you speak a bit about the other alternatives that ar
by snissn 6y ago
hi thanks for building this - i'm struggling with finding a good state management react workflow too. could you speak a bit about the other alternatives that are around and when Simpler is better, and when it isn't? Would help me have more confidence to pick this up.. thanks!
- aenero 6y agoHi. There are LOTS of much more popular libs you can choose from. My library does not intend to compete as the "best" library, but it has a very specific set of goals, the topmost of which is simplicity through a minimalist API. Don't get me wrong. SimpleR State is a "complete" library despite the simple API. It supports things like selectors, async actions, and plug-ins. And soon, it will come with built-in plug-ins like persistence, Dev Tools, validation, etc. Everyone has different priorities when choosing a library, so I suggest going through the design goals that I highlighted in the README file, or complete documentation here: https://simpler-state.js.org https://simpler-state.js.org and see if it fits what you're specifically looking for in a library. At the end of the day, all these libraries are just React code. In that sense they differ in terms of patterns/principles behind their implementation, but maybe more importantly, in the API/syntax (which is what immediately matters to the developer using it). This is what I can confidently say that SimpleR State delivers... one of the simplest APIs you can find.