Playing with React, Redux Toolkit and Redux Toolkit Query. I explored different Redux approches for the same project, so each branch has the same project/layout, but implemented in a different way.
Features: Connect to Rick and Morty's REST API, list, paginate, filter and like characters.
This project was created for study purposes.
Setup/Layout | Vite | TypeScript | Tailwind | - |
Main | Redux Toolkit | Fetch w/ RTK Query | Redux Persist | - |
RTK | Redux Toolkit | Fetch w/ Redux Thunk | - | - |
RQ-AND-RTK | Zustand | React Query (TanStack) | React Router | Axios |
The RQ-AND-RTK branch is an awesome collaboration from yuribmontez and has both, RTK Query and Zustand + React Query approaches.
- Install dependencies
npm install
- Start the project
npm run dev
- Fork this repository
- Create a branch with your feature:
git checkout -b my-feature
- Commit your changes:
git commit -m 'feat: add my new feature'
- Push it to your branch:
git push origin my-feature
After merging your pull request, your branch can be deleted.
Check the details about the types, verbs and commit messages here CONTRIBUTING.md
Also check the CODE_OF_CONDUCT.md
This project is MIT Licensed