$ account reduxjs
This is the core Redux library, a predictable state container for JavaScript applications. It provides a minimal but powerful API: `createStore` to create a store with a reducer, `combineReducers` to compose multiple reducers, `applyMiddleware` to extend dispatch with middleware, `compose` for function composition, and `bindActionCreators` to bind action creators to dispatch. The library is written in TypeScript with full type definitions and is built using modern tooling (tsdown, vitest). It is actively maintained, with regular releases and CI/CD pipelines. However, the README and documentation strongly recommend using Redux Toolkit (`configureStore`) for new projects, positioning this core package as a lower-level foundation. The codebase is clean, well-tested, and demonstrates classic patterns like reducer composition, middleware chains, and function composition. While the library itself is not an application, it is a foundational library for building applications with predictable state management.
This is the official React-Redux library, providing bindings for React components to connect to a Redux store. The source code defines the core public API: `<Provider>` component, `connect()` HOC, React hooks (`useSelector`, `useDispatch`, `useStore`), `shallowEqual`, and `batch`. Under the hood, it implements a custom subscription system (`Subscription.ts`) for correct nested component update ordering, a context-based store propagation mechanism, and a variety of selector factories and memoization utilities. The library is fully typed with TypeScript, includes extensive unit and integration tests, and supports both React 18 and 19, as well as limited React Server Components. The architecture is modular but tightly coupled to Redux semantics; no external dependencies beyond React and Redux. The codebase is actively maintained, uses modern tooling (Vitest, tsup, API Extractor), and has a small set of deprecated APIs (e.g., `batch`, `connect` with `withRef`).