diff --git a/frontend/node_modules/@reduxjs/toolkit/LICENSE b/frontend/node_modules/@reduxjs/toolkit/LICENSE new file mode 100644 index 0000000000000000000000000000000000000000..deeba5753f6d7d747013b9aa00f0f03c00ae93af --- /dev/null +++ b/frontend/node_modules/@reduxjs/toolkit/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2018 Mark Erikson + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/frontend/node_modules/@reduxjs/toolkit/README.md b/frontend/node_modules/@reduxjs/toolkit/README.md new file mode 100644 index 0000000000000000000000000000000000000000..a2514f3e1084bb15ff7efa1a4f387693bebba929 --- /dev/null +++ b/frontend/node_modules/@reduxjs/toolkit/README.md @@ -0,0 +1,110 @@ +# Redux Toolkit + +![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/reduxjs/redux-toolkit/tests.yml?style=flat-square) +[![npm version](https://img.shields.io/npm/v/@reduxjs/toolkit.svg?style=flat-square)](https://www.npmjs.com/package/@reduxjs/toolkit) +[![npm downloads](https://img.shields.io/npm/dm/@reduxjs/toolkit.svg?style=flat-square&label=RTK+downloads)](https://www.npmjs.com/package/@reduxjs/toolkit) + +**The official, opinionated, batteries-included toolset for efficient Redux development** + +## Installation + +### Create a React Redux App + +The recommended way to start new apps with React and Redux Toolkit is by using [our official Redux Toolkit + 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). + +Both 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. + +```bash +# Vite with our Redux+TS template +# (using the `degit` tool to clone and extract the template) +npx degit reduxjs/redux-templates/packages/vite-template-redux my-app + +# Next.js using the `with-redux` template +npx create-next-app --example with-redux my-app +``` + +We do not currently have official React Native templates, but recommend these templates for standard React Native and for Expo: + +- https://github.com/rahsheen/react-native-template-redux-typescript +- https://github.com/rahsheen/expo-template-redux-typescript + +### An Existing App + +Redux Toolkit is available as a package on NPM for use with a module bundler or in a Node application: + +```bash +# NPM +npm install @reduxjs/toolkit + +# Yarn +yarn add @reduxjs/toolkit +``` + +The package includes a precompiled ESM build that can be used as a [`