Finishing Up With Flatiron

Fiona Weaver
2 min readApr 26, 2021

It is pretty much the end of my time with flatiron! It is absolutely crazy how fast it went, it feels almost like I just started last week…

In this past week I have come to have a better understanding with React-Redux. The value of State and props and their differences have become more clear to me, which has helped a lot with understanding so much more. I have been doing more research on lifecycle methods such as componentDidMount and componentDidUpdate, what they are useful for, and which hooks can replace them. I have gotten more familiar with thunk what it allows dispatch to accomplish, as well as how dispatch plays a role in the general flow of react-redux, even though I have had a hard time really understanding the flow, I think I am starting to get the hang of it.

It makes a lot of sense how the reducer is always responsible for the actions that are dispatched and calculating what the new state result it. The reducer will always communicate with the components, which will dispatch the actions and go right back to the reducer and be stored in createStore.

While trying to fix my create action for my posts on my last project, I found that I prefer using functional components and hooks rather than class components. I ended up realizing that my problem mainly had to do with how I had my reducer set up for adding a post, as well as how my component had originally been set up. I decided to change it from a class component to a functional component, use hooks, and use mapDispatchToProps.

I would like to continue adding to that project going forward, I would like to make delete and edit features, and maybe make the website a little prettier;)

Overall my experience at flatiron has been pretty great! It was definitely a challenge, but at the end of the day I feel pretty fulfilled with what I have learned to do. I am so excited to get out into the workforce and continue to grow and learn even more.

--

--