Reactのstate管理ライブラリ
Reactのstate管理ライブラリ
小さな状態を作る系
❌️Recoil
Jotai
Recoil風
Component Tree内で状態管理
atomごとに状態を持つ
valtio
めちゃくちゃシンプル
Storeを作る系
Flux
Redux
Fluer
yahoo/Flexible
https://github.com/yahoo/fluxible
Zustand
Redux風
Reactの外で状態管理
全体で一つのState
XState
Recollect
https://github.com/davidgilbertson/react-recollect
https://medium.com/swlh/converting-a-redux-app-to-recollect-how-and-why-345a35088ea9
Reduxからの移行、ということが割と念頭にあるのか
ReduxのStoreのまま移行できるらしい
その上、reducerやactionCreatorの煩雑さから開放される。と
Easy Peasy
https://easy-peasy.vercel.app/
ボイラープレートの少ないReduxという感じだろうか?
Nano Stores
react-tracked
Redoor
https://javascript.plainenglish.io/new-alternative-of-redux-for-react-de0b420c0c60
https://github.com/rubender/redoor
https://github.com/pmndrs/jotai/issues/13#issuecomment-698961443
JotaiとRecoilの違い
https://github.com/pmndrs/jotai/issues/13
JotaiとZustandの違い
パット見ではZustandの方が好みだけど、未来を見据えるならRecoilやJotaiの方が良いのかな、という気がしてるmrsekut.icon
unstated-next
ちょっと昔の
今も使われてるのか?
https://github.com/jamiebuilds/unstated-next
unreduxed
https://qiita.com/stin_dev/items/89a3bf588b3c05f937a8
https://blog.uhy.ooo/entry/2021-07-24/react-state-management/
@uhyoの考察
/miyamonz/react向けステート管理ライブラリの比較