reatom
jotai
Our great sponsors
reatom | jotai | |
---|---|---|
1 | 81 | |
811 | 12,591 | |
- | 6.1% | |
6.7 | 8.5 | |
7 days ago | 6 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.
reatom
-
Why is it so difficult to modify a deeply nested state in React?
Nice one, really! https://github.com/artalar/reatom
jotai
-
Zustand = 🔥
Zustand is still reduxy. I strongly prefer jotai to all the other's I've used.
-
React is a fractal of bad design
Jotai may be small and focused, but is definitely not a single file: https://github.com/pmndrs/jotai/tree/main/src/
-
🦜🔗 Introducing AmjadGPT - an AI chatbot 🤖 that acts like the CEO of Replit
I added a way for users to change the typing speed, and a way to clear history - essentially a single conversation thread. I also utilized Jotai to enable stored history and settings via react hooks 🪝.
-
Does react have something equivalent to vue composables?
The most common ones are redux and react context but there are newer stores that are not dependent on react like recoil, jotai, zustand (<1kb) and many more. Each has different APIs and community/resources. So you can use what feels the easiest to understand.
-
Why is building a UI in Rust so hard?
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.
-
I made a very easy way to share state across components
Something like this is already done, it's called jotai.
-
State management, possible alternatives to redux
MobX is great, but compare it to Jotai as well. I used MobX in a few projects in the past (so yes, I know it well), and nowadays I prefer Jotai.
-
To Redux or not to Redux. To useReducer or useState.
Found a nice list here. My preferred state management is Jotai. I replaced a ton of redux stuff with it and have never looked back.
-
Implementing Deep Links in React with Atoms
Jotai is another library that shares a lot of features with Recoil. This article will focus on one particular hook atomWithHash() in the jota-location integration, which allows us to manipulate URL hash segments and subscribe to their changes directly.
-
Web 3.0 frontend stacks in 2023
State management : jotai
What are some alternatives?
zustand - 🐻 Bear necessities for state management in React
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.
redux-toolkit - The official, opinionated, batteries-included toolset for efficient Redux development
react-query - 🤖 Powerful asynchronous state management, server-state utilities and data fetching for TS/JS, React, Solid, Svelte and Vue. [Moved to: https://github.com/TanStack/query]
react-hook-form - 📋 React Hooks for form state management and validation (Web + React Native)
valtio - 💊 Valtio makes proxy-state simple for React and Vanilla
redux-thunk - Thunk middleware for Redux
hookstate - The simple but very powerful and incredibly fast state management for React that is based on hooks
signals - Manage state with style in every framework
effector-react - Business logic with ease ☄️
use-cookie-state - State management React hook using browser cookies as persistent storage
react-router - Declarative routing for React