Final Project React/Redux

Posted by Matthew Cullen on February 18, 2020

For my Final project I made an app for people with exotic pets to keep track of feedings and other important information. It took me too long to think of an idea for this project.

I find setting up the api first to be the best approach as you get to fine tune what kind of data is being sent to the client.

Before creating my react part of the project I took out a notebook and sketched out how I wanted things to look and flow from component to component. I think planning before you sit down to code is the best strategy as you can discover/ avoid future issues.

Running into problems in React as opposed to the last project with pure javascript involved checking that my javascript was correct and that my understanding of how React and the other libraries I was using was correct. I found google, stackoverflow and console logging my variables/props proved more than efficient for fixing problems, moving forward and learning new things.

My biggest struggle was understanding redux, a library that stores a global state which react components can connect to. After watching a couple tutorials on youtube and voiceing how I thought redux was supposed to work to an instructor I felt I had a good grasp of redux, thunk and handling async in react.