Our great sponsors
|8 days ago||26 days ago|
|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.
20 Essential Parts Of Any Large Scale React App
15 projects | dev.to | 2 Jun 2023
react-redux : Integration with React
I am making a pizza app and I want that whenever I click on add my cart gets updated which is at the bottom of the page. Can anyone please help
2 projects | /r/reactjs | 28 Apr 2023
You should think about using some client state management libraries like Redux. Redux gives you the possibility to encapsulate states and manipulate it through functions. https://react-redux.js.org/
What Are Signals?
2 projects | news.ycombinator.com | 4 Mar 2023
`useSyncExternalStore` was shipped live in React 18.0 and is fully ready for production use.
Source: I'm the primary Redux maintainer, and worked with Andrew Clark of the React team to nail down the semantics and behavior needed by `useSyncExternalStore` in practice. They had the idea, but discussed a lot of the necessary use cases with us and other lib maintainers, and a lot of its internal implementation is directly related to how React-Redux's `useSelector` hook was implemented already.
I built the first working code that used it by prototyping React-Redux v8's switch from our own internal subscription handling to `useSyncExternalStore` instead and gave Andrew feedback:
React From Scratch
4 projects | dev.to | 7 Feb 2023
State Management with Redux
5 projects | dev.to | 22 Dec 2022
Redux is a popular state management tool that can be used in conjunction with React to manage the state of an application. It works by implementing a unidirectional data flow, in which actions are dispatched to a central store, which then updates the state of the application and sends the updated state back to the components that need it.
Consuming a Rails API with a NextJs client
13 projects | dev.to | 28 Nov 2022
Redux vs Context, what exactly does Redux accomplish that context fails to do?
2 projects | /r/reactjs | 26 Nov 2022
Sorry, that is correct. I was combining Redux toolkit with React Redux In my head.
What is the correct way to store a variable so that It is accessible to all components/pages?
3 projects | /r/react | 29 Oct 2022
if you have a more complex component hierarchy, and the component who receives the DB response is not on the top, you might consider introducing a State management tool, such as Redux: https://redux.js.org / https://react-redux.js.org
useSyncExternalStore() needs an update
2 projects | /r/reactjs | 16 Sep 2022
FWIW I was actually the primary alpha tester for useSyncExternalStore - I prototyped using uSES in React-Redux v8, and worked with Andrew Clark to nail down what the final API and behavior should be.
I am sick and tired of react-redux. Who has some good alternatives?
18 projects | /r/reactjs | 11 Sep 2022
Additionally, the idea that the props.todoAdded() version from connect automatically dispatched when called was always a source of confusion and led to lots of questions. So, Dan Abramov specifically suggested that we drop the idea of auto-binding as we were designing the hooks API to make it more clear what's actually happening, and we did.
Changelog #0023 — 🛠️ Internal refactoring and improvements
4 projects | dev.to | 29 May 2023
We took inspiration from the many frameworks we worked with throughout our careers. And maybe surprisingly, Django’s ORM layer impacted our design choices and the API quite a bit. The resulting framework relies on Zod for schemas and validation and Valtio for React integration.
Is redux and thunks still used or are there other alternatives for it now?
12 projects | /r/reactjs | 10 May 2023
Valtio is like simplified MobX
Why is building a UI in Rust so hard?
6 projects | /r/rust | 17 Feb 2023
Even simpler than Zustand are state-atom libraries like jotai or recoil, or proxy based ones like valtio. Here's some discussion about the differences.
2 projects | dev.to | 30 Jan 2023
What is being used right now for ioc/state-managment?
3 projects | /r/reactjs | 2 Jan 2023
I'm switching from redux-saga to valtio (https://github.com/pmndrs/valtio) for now. It's simple and easy to use, everything's great so far.
Ask HN: What is your favorite front end state management solution?
12 projects | news.ycombinator.com | 25 Dec 2022
I like valtio, works w/ React or just js. Has subscribe, derive, and more.
Explanation on how Redux or React Context could help and picking the best option
6 projects | /r/webdev | 27 Oct 2022
Jotai and Valtio are both also really good. Recently looked at Nanostore as well and has some similarity to Jotai and Recoil.
No-build TODO app using HTM + Preact
10 projects | dev.to | 4 Jun 2022
The state can be manipulated outside the React/Preact lifecycle too using vanilla JS. Persisting the app state to localStorage is also trivial.
React state management libraries in 2022
8 projects | /r/reactjs | 18 May 2022
Have you looked at Valtio at all? Same author as zustand.
[Tutorial] Building a realtime multiplayer game using React & Conflict-free Replicated Data Types (CRDT) of Yjs.
If you want to use Yjs in your app, I highly suggest you use Valtio for state management, which has support for Yjs synchronization. Or if you want to use just Yjs for state, there is immer-yjs that gives you mutable semantics over immutable one of Yjs.
What are some alternatives?
axios - Promise based HTTP client for the browser and node.js
MobX - Simple, scalable state management.
zustand - 🐻 Bear necessities for state management in React
Express - Fast, unopinionated, minimalist web framework for node.
jotai - 👻 Primitive and flexible state management for React
Immer - Create the next immutable state by mutating the current one
Recoil - Recoil is an experimental state management library for React apps. It provides several capabilities that are difficult to achieve with React alone, while being compatible with the newest features of React.
leva - 🌋 React-first components GUI
rtk-query - Data fetching and caching addon for Redux Toolkit
recompose - A React utility belt for function components and higher-order components.
reselect - Selector library for Redux