There are 2 branches with 2 different things in them. Use branch with-redux-saga if you want to see the setupd for redux saga
This boilerplate is created using React, Redux, Redux Thunk or Redux saga. Why OR
? Because in the main branch you will have an example using Redux thunk ecosystem and if you change the branch to with-redux-saga
you will have a boilerplare using Redux Saga. In the Redux saga branch you will find the next features:
- ✨Axios request✨
- ✨Loading state✨
- ✨List Axios request response✨
- ✨Use selectors from
reselect
✨ - ✨Redux logger✨
- ✨Vite build and run✨
- ✨HMR✨
- ✨React router 6✨
- Clone the repo
cd react-vite-redux-saga-2023
- Run
yarn
ornpm install
- To start the dev server run
yarn dev
ornpm run dev
- If you want to prepare a build for production and deploy it, follow the steps from this link:
[✨CLICK ME! :D✨] (https://vitejs.dev/guide/static-deploy.html)
MIT