/redux-middlewares-demo

A sample demo apps to showcase redux and async middlewares usage

Primary LanguageTypeScript

Redux Middlewares Demo

License

Description

This project serves as a comprehensive demonstration of how to effectively utilize Redux and asynchronous middlewares for Redux. It provides practical examples and step-by-step instructions on integrating Redux into your application architecture, enabling you to manage state and handle asynchronous actions with ease.

  1. create-async-thunk - Use create-async-thunk from redux tool kit along with createSlice.
  2. redux-saga - Use redux-saga middleware with redux.
  3. rtk-tool-thunk - Use rtk query with redux.
  4. standard-thunk - Use standard redux-thunk with redux.

Table of Contents

Installation

Instructions on how to install and run your project.

run

npm install

in each folder to install dependencies.

Usage

Instructions on how to use your project.

Start the server first

cd server
npm start

then start each react app by using

npm start

License

This project is licensed under the MIT License.