Skip to content

Latest commit

 

History

History
33 lines (19 loc) · 1.59 KB

README.md

File metadata and controls

33 lines (19 loc) · 1.59 KB

React - Redux - TailwindCSS

This is a dummy application to improve my React and Redux skills. I'm sure it has several errors and it needs to be improved but for me it was worth it because I learned a lot doing it.

🚩 Main goal

The aim was to create an app that used Redux as a state manager for share data between components such as the number of Pokémons added. I have created two reducers, one for the Pokémons and other for the cart.

Once the Pokémon list is fetched from the API the data is displayed in a table. Then, you can add Pokémons (without repetition) inside the cart.

In the cart view, you can see the details of a specific Pokémons or you can remove it from the cart.

The Home view will show the image of Pokémons added to the cart or a message if the cart is empty.

🚀 Improvements

This is an on-the-fly list of all the cool things to improve on the app.

  • Add a spinner for the Pokémon fetch data.
  • Improve the add button. When you add a new Pokémon to the cart, the add button will be disabled.
  • Add a spinner for the Pokémon details.

💣 About Redux devtools

To install Redux DevTools as a NPM execute: npm install --save-dev redux-devtools-extension and move inside dependencies.

💛 Contact

If you have some doubts or need to ask something about the project, feel free to reach me here: