#jotai — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #jotai, aggregated by home.social.
-
Подходы к state management в React
У React-разработчика две беды: 1. Целевые данные изменились, а ререндера нет. 2. Целевые данные не изменились, а ререндер есть. Есть много вариантов подружить данные с интерфейсом, в рамках данной статьи я пройдусь по самым популярным из них. Выясним, как они устроены и для чего каждый из них подойдет лучше, обсудим конкретные реализации разных паттернов.
https://habr.com/ru/articles/984424/
#React #redux #zustand #mobx #valtio #jotai #state_management
-
Подходы к state management в React
У React-разработчика две беды: 1. Целевые данные изменились, а ререндера нет. 2. Целевые данные не изменились, а ререндер есть. Есть много вариантов подружить данные с интерфейсом, в рамках данной статьи я пройдусь по самым популярным из них. Выясним, как они устроены и для чего каждый из них подойдет лучше, обсудим конкретные реализации разных паттернов.
https://habr.com/ru/articles/984424/
#React #redux #zustand #mobx #valtio #jotai #state_management
-
Подходы к state management в React
У React-разработчика две беды: 1. Целевые данные изменились, а ререндера нет. 2. Целевые данные не изменились, а ререндер есть. Есть много вариантов подружить данные с интерфейсом, в рамках данной статьи я пройдусь по самым популярным из них. Выясним, как они устроены и для чего каждый из них подойдет лучше, обсудим конкретные реализации разных паттернов.
https://habr.com/ru/articles/984424/
#React #redux #zustand #mobx #valtio #jotai #state_management
-
Подходы к state management в React
У React-разработчика две беды: 1. Целевые данные изменились, а ререндера нет. 2. Целевые данные не изменились, а ререндер есть. Есть много вариантов подружить данные с интерфейсом, в рамках данной статьи я пройдусь по самым популярным из них. Выясним, как они устроены и для чего каждый из них подойдет лучше, обсудим конкретные реализации разных паттернов.
https://habr.com/ru/articles/984424/
#React #redux #zustand #mobx #valtio #jotai #state_management
-
Как создавали Jotai
Устали использовать Redux / Zustand / Jotai как чёрный ящик? Хотите наконец понять, что за магия там под капотом? Мне самому надоело вайбкодить синтаксис Redux-like библиотек. Пора уже понять чё за зверь такой – state manager. Это заняло у меня несколько месяцев, и сейчас пройдём этот путь вместе. Буквально изобретём концепцию Jotai за семь дней.
-
Did you know I previously wrote a book about Zustand, Jotai, and Valtio? I think the content is still relevant (at least until the React Compiler lands 🙃).
In case you missed it, you can find the link on my site 👉 https://daishikato.com
#ReactJS #React #JavaScript #TypeScript #Zustand #Jotai #Valtio
-
jotai-xstate v0.5.0 has been released! It finally migrates to XState V5. Huge thanks to the contributors!
Now, we may need to update the docs and examples. Would anyone like to volunteer?
-
Just released jotai-immer v0.4.0! This library lets you define Jotai atoms with Immer.
I'm looking for a collaborator to help maintain this library. Let me know if you're interested, especially if you use it in production. https://github.com/jotaijs/jotai-immer
-
In case you wonder what's my preferred stack to build services right now, it's as follows:
- #Elixir runs the system itself. No to #Phoenix, #Ecto, yes to #Plug, #Commanded.
- #Rust does the business-logic heavy-lifting. Normally single-threaded workers.
- #Typescript with #ReactJS and #Jotai does user-facing computations.
- #ETS for data views, #PostgreSQL for immutable history of the events and other data that is only INSERTed, never UPDATEd.
* * *
I am planning to see if I can replace #Elixir with #Purerl when I have the time.
-
jotai-immer v0.3.0 is released! https://github.com/jotaijs/jotai-immer
I haven't heard a lot about the use of this, but it must be used for several people. There was a PR and this version includes it. I'm not actively maintaining this package, so I'm happy if I can find a new maintainer.
-
jotai-tanstack-query v0.8.0 is released! Welcome to our new maintainer, kalijonn! The new API introduces a breaking change, but it's designed to be in line with the React hooks binding of TanStack Query.
-
jotai-tanstack-query v0.8.0 is released! Welcome to our new maintainer, kalijonn! The new API introduces a breaking change, but it's designed to be in line with the React hooks binding of TanStack Query.
-
jotai-tanstack-query v0.8.0 is released! Welcome to our new maintainer, kalijonn! The new API introduces a breaking change, but it's designed to be in line with the React hooks binding of TanStack Query.
-
jotai-tanstack-query v0.8.0 is released! Welcome to our new maintainer, kalijonn! The new API introduces a breaking change, but it's designed to be in line with the React hooks binding of TanStack Query.
-
jotai-tanstack-query v0.8.0 is released! Welcome to our new maintainer, kalijonn! The new API introduces a breaking change, but it's designed to be in line with the React hooks binding of TanStack Query.
-
Did you know? There are some Jotai integration libraries that might help migrating from other state management libraries. Check out jotai-redux and jotai-recoil.
https://github.com/jotaijs/jotai-redux
https://github.com/jotaijs/jotai-recoil (We need docs. Would anyone like to help?)
#ReactJS #React #JavaScript #TypeScript #Jotai #Redux #Recoil
-
jotai-location v0.3.2 is released! https://github.com/jotai-labs/jotai-location
It has a util called `atomWithHash` to sync atom value with `location.hash`.
#ReactJS #Jotai #StateManagement #ReactHooks #JavaScript #TypeScript