state
effector-react
state | effector-react | |
---|---|---|
4 | 26 | |
55 | 4,501 | |
- | 0.7% | |
4.5 | 9.4 | |
about 1 year ago | 14 days ago | |
TypeScript | TypeScript | |
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.
state
-
Zustand = ๐ฅ
If you like to use something even simpler you can check my lib here https://github.com/bit-about/state. Itโs production ready and battle tested :)
-
React state management libraries in 2022
Iโve used almost all libs you mentioned, and then created my own https://github.com/bit-about/state . I use it on my newest projects and fills all my needs :3
-
Bit-about/event and bit-about/state are released Tiny React idiomatic libs
Hey guys! I've released complementary libraries BitAboutState and BitAboutEvent and I'd like to hear your feedback. I wanted to achieve the feeling that these libraries "should be built into React".
Key features:
100% Typescript with state types deduction
Efficient and hook-based
With extra static access to core functionality (without hook)
No centralized providers (decentralized states and events)
Tiny - max 2.5kB
These libraries force, in my opinion, the cleanest way to design code architecture in React projects.
The libraries are production-ready and this week I introduced them to fresh React-Native commercial projects in my company. We will see them on the battlefield :)
BitAboutEvent: https://github.com/bit-about/event
BitAboutState: https://github.com/bit-about/state
-
@bit-about/event and @bit-about/state are released ๐ Tiny and 100% idiomatic libraries for type-safe state management with side-effects (like in Redux-like approaches)
BitAboutState: https://github.com/bit-about/state
effector-react
-
Astro.js as an alternative to Next.js: pushing the limits
In its docs, Astro recommends nanostores, but Iโve used effector in the past. And LOVED IT. So Iโve used it for this project as well.
-
Global, reactive data store vs local, colocated graphql query?
I've been using effector, together with the apollo-client for the last few years and, while it works, it's completely detached from the actual screens. In other words, you need to fetch everything (at startup) you might use at some point and it stays in the memory for the entire duration of the session. Error handling is also tricky as you need to explicitly subscribe to the specific error stores in order to render them. And, if something goes wrong, it's tricky to tell what data is actually used in the current screen, so it's almost impossible to do the Retry efficiently. OTOH the screens are nice and simple - no spinners, the data is just there, thus the app feels (and is) fast.
-
Ask HN: What is your favorite front end state management solution?
Actually, Svelte uses Effector for state management under the hood. You can read more about it here: https://effector.dev/. It also has bindings for other frameworks including React, Vue and Solid. Effector is a little not beginner-friendly, but once you truly understand it, Effector becomes a very powerful.
-
So what is Effector ?
A state-management library.
-
So what is Effector โ๏ธ ?
Effector it is the another way to create state and business logic for your frontend application.
- [Question] Recommendations for an agnostic state management?
-
What concepts of react are the most difficult to understand ?
https://effector.dev/ here you go
-
I need some advice for my next tech stack
Then I found Effector which seems to have the same features, and SolidJs support.
-
The new wave of React state management
Whereโs effector?
-
React state management libraries in 2022
https://ngneat.github.io/elf/ https://effector.dev/
What are some alternatives?
thin-backend - ๐ฅ Thin Backend is a Blazing Fast, Universal Web App Backend for Making Realtime Single Page Apps
pinia - ๐ Intuitive, type safe, light and flexible Store for Vue using the composition api with DevTools support
reactn - React, but with built-in global state management.
redux - A JS library for predictable global state management
react-native-use-persisted-state - ๐พ Simple persisted state in react-native
mobx-react
ignite-bowser - Bowser is now re-integrated into Ignite CLI! Head to https://github.com/infinitered/ignite to check it out.
jotai - ๐ป Primitive and flexible state management for React
hookstate - The simple but very powerful and incredibly fast state management for React that is based on hooks
zustand - ๐ป Bear necessities for state management in React
constate - React Context + State
nanostores - A tiny (286 bytes) state manager for React/RN/Preact/Vue/Svelte with many atomic tree-shakable stores