react-easy-state
simpler-state
Our great sponsors
react-easy-state | simpler-state | |
---|---|---|
13 | 13 | |
2,560 | 479 | |
-0.1% | - | |
0.0 | 3.8 | |
over 1 year ago | 12 months ago | |
JavaScript | JavaScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
react-easy-state
-
Which state management library is the best for React? (suggest any libraries that are not included in the poll)
I've really enjoyed react-easy-state
-
What do you think are the "must-have" npm packages in (almost) every React Project?
For state, I love to use React Easy State.
-
I am sick and tired of react-redux. Who has some good alternatives?
react-easy-state was very easy.
-
How can I prevent this in my large scale react app ?
If you want to try something a bit different with regards to state management, you can try: https://github.com/RisingStack/react-easy-state
-
Honestly, what is the best, pain-free state management in React right now?
Nope, react-easy-state is much easier: https://github.com/RisingStack/react-easy-state
-
Why do developers love hooks?
I personally prefer to work with react-easy-state instead of using Redux or even the built-in state management in React.
-
What do you find to be the most useful library in react-native?
Just started using react-easy-state in a project, and I have to say I love it. In the past, I used Redux/RTK for global state management, along with Redux Thunk or Redux Saga for side effects. In contrast, react-easy-state is easy and requires so much less boilerplate to setup and worry about. I’m fully comfortable using Redux in apps and have done it plenty of times, but I love how react-easy-state just works. It’s amazing being able to mutate the state from anywhere, inside and outside of components, and have it immediately reflected by components, without installing any plugins and having complex config files.
-
Do I need Redux for a "e-commerce" beginner project site?
I am a big fan of react-easy-state, which uses proxies to automatically trigger re-renders when you mutate any state that the component depends on. It's a bit of a different way of using state management compared to typical immutable state examples, but it allows for some very straightforward code without much boilerplate around it.
-
Accelerate your learning by starting with the full source code of my first project
The app for people to submit orders (drinks-user) is just a form and to manage state, I'm using React-easy-state
- React-easy-state: Simple React state management
simpler-state
-
ContextAPI vs Redux
The link go to a 404. There is the correct link : https://github.com/arnelenero/simpler-state
- I built a modern website in 2021
- Show HN: SimpleR State v1.0.3 just released–STILL the simplest React state mgmt
-
The simplest React state manager now at stable release
Would that be the transform function from here [1]?
I do agree too that this definitely should be a library on its own.
Anyway thanks for your work; I'll definitely check SimpleR in my project.
[1] https://github.com/arnelenero/simpler-state/blob/f6336817c9e...
- simpler state - The simplest app state management for React
-
Hacker News top posts: Mar 22, 2021
Show HN: SimpleR State – simplest state management for React\ (18 comments)
-
Show HN: SimpleR State – simplest state management for React
Hi. 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.
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
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.
-
Can React state management get any simpler than this?
I opened a Request For Comments (here) on GitHub. Your comments and suggestions would be greatly appreciated. Feel free to drop me a comment here 👇 too.
What are some alternatives?
comlink - Comlink makes WebWorkers enjoyable.
redux-toolkit - The official, opinionated, batteries-included toolset for efficient Redux development
zustand - 🐻 Bear necessities for state management in React
jotai - 👻 Primitive and flexible state management for React
react-holmes - Elementary State Orchestrator for React
react-singleton-hook - Create singleton hook from regular react hook
gpt-neo - An implementation of model parallel GPT-2 and GPT-3-style models using the mesh-tensorflow library.
Dragonbinder - 1kb progressive state management library inspired by Vuex.
OpticSim.jl - Optical Simulation software
Nanny-State - small, simple & speedy state management
terraform-cdk - Define infrastructure resources using programming constructs and provision them using HashiCorp Terraform