Tag: State Management
6 posts
-
Modern Redux with Redux Toolkit: Slices, Typed Hooks, Thunks, RTK Query and Entity Adapters
Complete Redux Toolkit guide for React. Learn slices, reducers, async thunks, RTK Query, and building scalable Redux applications with best practices.
-
MobX for React State: Observables, Computed Values, Actions, Reactions and Multiple Stores
Managing React state with MobX: observables, computed values, actions, reactions, a shopping cart example, multiple stores, and best practices.
-
Pinia in Vue 3: Setup vs Option Stores, storeToRefs, Stores Outside Components, SSR and Testing
How Pinia behaves in real Vue 3 apps: setup vs option stores, why destructuring loses reactivity, the no active Pinia error, $reset, SSR hydration, plugins and tests.
-
Immutable Updates with Immer: produce, Curried Producers, Patches and Redux
Writing immutable state updates with Immer: produce, array operations, curried producers, patches, return values, React and Redux integration, and performance notes.
-
Atomic State in React with Jotai: Derived, Async and Write-Only Atoms, Families and Provider Scope
Managing React state with Jotai's atomic model: primitive, derived, async and write-only atoms, atom families, utilities, a todo app, and provider scoping trade-offs.
-
Zustand in React and TypeScript: Stores, Selectors, persist/devtools/immer and Next.js SSR
Manage React state with Zustand: typed stores, selectors that avoid re-renders, persist, devtools and immer middleware, and store setup for Next.js SSR.