{"name":"react-redux","version":"9.2.0","description":"Official React bindings for Redux","keywords":["react","reactjs","redux"],"license":"MIT","author":{"name":"Dan Abramov","email":"dan.abramov@me.com","url":"https://github.com/gaearon"},"homepage":"https://github.com/reduxjs/react-redux","repository":{"type":"git","url":"git+https://github.com/reduxjs/react-redux.git"},"bugs":{"url":"https://github.com/reduxjs/react-redux/issues"},"module":"dist/react-redux.legacy-esm.js","main":"dist/cjs/index.js","react-native":"./dist/react-redux.legacy-esm.js","types":"dist/react-redux.d.ts","exports":{"./package.json":"./package.json",".":{"types":"./dist/react-redux.d.ts","react-server":"./dist/rsc.mjs","react-native":"./dist/react-redux.legacy-esm.js","import":"./dist/react-redux.mjs","default":"./dist/cjs/index.js"},"./alternate-renderers":{"types":"./dist/react-redux.d.ts","import":"./dist/react-redux.mjs","default":"./dist/cjs/index.js"}},"sideEffects":false,"scripts":{"build":"yarn clean && tsup","clean":"rimraf lib dist es coverage","api-types":"api-extractor run --local","format":"prettier --write \"{src,test}/**/*.{js,ts,tsx}\" \"docs/**/*.md\"","lint":"eslint src test","lint:fix":"eslint src test --fix","prepack":"yarn build","pretest":"yarn lint","test":"vitest --run --typecheck","test:watch":"vitest --watch","type-tests":"tsc --noEmit -p tsconfig.test.json","coverage":"codecov"},"peerDependencies":{"@types/react":"^18.2.25 || ^19","react":"^18.0 || ^19","redux":"^5.0.0"},"peerDependenciesMeta":{"@types/react":{"optional":true},"redux":{"optional":true}},"dependencies":{"@types/use-sync-external-store":"^0.0.6","use-sync-external-store":"^1.4.0"},"devDependencies":{"@microsoft/api-extractor":"^7.47.0","@reduxjs/toolkit":"^2.2.5","@testing-library/dom":"^10.4.0","@testing-library/jest-dom":"^6.6.3","@testing-library/react":"^16.1.0","@types/node":"^20.14.2","@types/prop-types":"^15.7.12","@types/react":"^19.0.1","@types/react-dom":"^19.0.1","codecov":"^3.8.3","cross-env":"^7.0.3","eslint":"^8.57.0","eslint-config-prettier":"^9.1.0","eslint-import-resolver-typescript":"^3.6.1","eslint-plugin-import":"^2.29.1","eslint-plugin-prettier":"^5.1.3","eslint-plugin-react":"^7.34.2","jsdom":"^25.0.1","prettier":"^3.3.3","react":"^19.0.0","react-dom":"^19.0.0","redux":"^5.0.1","rimraf":"^5.0.7","tsup":"^8.3.5","typescript":"^5.5.4","typescript-eslint":"^7.12.0","vitest":"^1.6.0"},"packageManager":"yarn@4.4.1","_id":"react-redux@9.2.0","gitHead":"8c573825bb71203dbf61039c92505acb3170acf6","_nodeVersion":"18.18.2","_npmVersion":"9.8.1","dist":{"integrity":"sha512-ROY9fvHhwOD9ySfrF0wmvu//bKCQ6AeZZq1nJNtbDC+kk5DuSuNX/n6YWYF/SYy7bSba4D4FSz8DJeKY/S/r+g==","shasum":"96c3ab23fb9a3af2cb4654be4b51c989e32366f5","tarball":"http://registry-npm.ywwl.com/react-redux/download/react-redux-9.2.0.tgz","fileCount":47,"unpackedSize":822524,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICyZQP/QeiE3XQT5WLu74+SyfJx8g0/3J49LTEEKtBvlAiEAzr9pqvdELMIotFx7VCPDnrDTN4JLWEwOpSfUN1fQdlI="}],"size":190635,"noattachment":false,"key":"/react-redux/-/react-redux-9.2.0.tgz"},"_npmUser":{"name":"acemarke","email":"mark.erikson@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/react-redux_9.2.0_1733872005502_0.5487708195721053"},"_hasShrinkwrap":false,"readme":"# React Redux\r\n\r\nOfficial React bindings for [Redux](https://github.com/reduxjs/redux).\r\nPerformant and flexible.\r\n\r\n![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/reduxjs/react-redux/test.yml?style=flat-square) [![npm version](https://img.shields.io/npm/v/react-redux.svg?style=flat-square)](https://www.npmjs.com/package/react-redux)\r\n[![npm downloads](https://img.shields.io/npm/dm/react-redux.svg?style=flat-square)](https://www.npmjs.com/package/react-redux)\r\n[![#redux channel on Discord](https://img.shields.io/badge/discord-redux@reactiflux-61DAFB.svg?style=flat-square)](http://www.reactiflux.com)\r\n\r\n## Installation\r\n\r\n### Create a React Redux App\r\n\r\nThe recommended way to start new apps with React and Redux is by using [our official Redux+TS template for Vite](https://github.com/reduxjs/redux-templates), or by creating a new Next.js project using [Next's `with-redux` template](https://github.com/vercel/next.js/tree/canary/examples/with-redux).\r\n\r\nBoth of these already have Redux Toolkit and React-Redux configured appropriately for that build tool, and come with a small example app that demonstrates how to use several of Redux Toolkit's features.\r\n\r\n```bash\r\n# Vite with our Redux+TS template\r\n# (using the `degit` tool to clone and extract the template)\r\nnpx degit reduxjs/redux-templates/packages/vite-template-redux my-app\r\n\r\n# Next.js using the `with-redux` template\r\nnpx create-next-app --example with-redux my-app\r\n```\r\n\r\n### An Existing React App\r\n\r\nReact Redux 8.0 requires **React 16.8.3 or later** (or React Native 0.59 or later).\r\n\r\nTo use React Redux with your React app, install it as a dependency:\r\n\r\n```bash\r\n# If you use npm:\r\nnpm install react-redux\r\n\r\n# Or if you use Yarn:\r\nyarn add react-redux\r\n```\r\n\r\nYou'll also need to [install Redux](https://redux.js.org/introduction/installation) and [set up a Redux store](https://redux.js.org/recipes/configuring-your-store/) in your app.\r\n\r\nThis assumes that you’re using [npm](http://npmjs.com/) package manager\r\nwith a module bundler like [Webpack](https://webpack.js.org/) or\r\n[Browserify](http://browserify.org/) to consume [CommonJS\r\nmodules](https://webpack.js.org/api/module-methods/#commonjs).\r\n\r\nIf you don’t yet use [npm](http://npmjs.com/) or a modern module bundler, and would rather prefer a single-file [UMD](https://github.com/umdjs/umd) build that makes `ReactRedux` available as a global object, you can grab a pre-built version from [cdnjs](https://cdnjs.com/libraries/react-redux). We _don’t_ recommend this approach for any serious application, as most of the libraries complementary to Redux are only available on [npm](http://npmjs.com/).\r\n\r\n## Documentation\r\n\r\nThe React Redux docs are published at **https://react-redux.js.org** .\r\n\r\n## How Does It Work?\r\n\r\nThe post [The History and Implementation of React-Redux](https://blog.isquaredsoftware.com/2018/11/react-redux-history-implementation/)\r\nexplains what it does, how it works, and how the API and implementation have evolved over time.\r\n\r\nThere's also a [Deep Dive into React-Redux](https://blog.isquaredsoftware.com/2019/06/presentation-react-redux-deep-dive/) talk that covers some of the same material at a higher level.\r\n\r\n## License\r\n\r\n[MIT](LICENSE.md)\r\n","publish_time":1733872005755,"maintainers":[{"name":"gaearon","email":"dan.abramov@gmail.com"},{"name":"timdorr","email":"timdorr@timdorr.com"},{"name":"phryneas","email":"mail@lenzw.de"},{"name":"acemarke","email":"mark.erikson@gmail.com"},{"name":"eskimojo","email":"ben.j.durrant@gmail.com"}],"_cnpm_publish_time":1733872005755,"dist-tags":{"alpha":"9.4.0-alpha.2","beta":"9.0.0-beta.0","fix-test":"7.1.2-alpha.0","latest":"9.3.1","next":"9.0.0-rc.0","previous":"4.4.10","previous-5.x":"5.1.2","rc":"8.0.0-rc.1"}}