Redux
Redux is a predictable state-management library for JavaScript apps that stores all application state in a single, read-only store and updates it only through dispatched actions handled by pure reducer functions.
12 resources across 4 libraries
Glossary Terms(8)
React
React is a declarative, component-based JavaScript library created by Meta for building interactive user interfaces, using a virtual DOM to efficiently update…
XState
XState is a JavaScript and TypeScript library for creating, interpreting, and visualizing state machines and statecharts, providing a robust model for managing…
Redux
Redux is a predictable state-management library for JavaScript apps that stores all application state in a single, read-only store and updates it only through…
Pinia
Pinia is the official state management library for Vue.js, providing a simple, type-safe store API for sharing and mutating application state across components.
Zustand
Zustand is a small, unopinionated state management library for React that provides a simple hook-based API for creating and consuming global state without boil…
MobX
MobX is a state management library that uses transparent, observable reactive programming to automatically track and update any part of a UI that depends on ch…
Recoil
Recoil is a state management library for React, developed by Meta, that models shared state as a graph of atoms and selectors, integrating closely with React's…
Pure Function
A pure function is a function whose output depends only on its input arguments and which produces no observable side effects, such as mutating external state,…
Study Notes(1)
Cheat Sheets(1)
Interview Questions(2)
Context API vs Redux: When Should You Use Each?
React’s Context API is a built-in mechanism for passing data through the component tree without manual prop drilling, best suited for relatively static or infr…
What Are the Main State Management Patterns in Frontend Apps?
Frontend state management patterns fall into a spectrum from local component state, through lifted/shared state via props and context, to centralized global st…