NSM722 / Modern-Redux

React-Redux + Vite + TS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Modern Redux ToolKit and React App

FCC Redux Toolkit Read

This template shows how redux-toolkit simplifies the previous Redux boilerplate code

Dogs as a service API

There's currently a bug in reading the API data

Starter Vite Template

npm create vite@latest

 Project name: ... redux-toolkit
 Select a framework: » React
 Select a variant: » TypeScript

Done. Now run:

  cd redux-toolkit
  npm install
  npm run dev

Install Redux Toolkit(Beta Version) & AXIOS

$ npm i @reduxjs/toolkit@next react-redux axios

configureStore function is a wrapper around the basic createStore() function provided by Redux It automatically sets up a Redux store with the right tools:

  • including Redux DevTools integration
  • the thunk middleware for handling asynchronous actions
  • development checks like immutability and TypeScript support

About

React-Redux + Vite + TS

License:MIT License


Languages

Language:TypeScript 72.4%Language:CSS 19.4%Language:JavaScript 4.2%Language:HTML 4.0%