Now that I’ve completed the MITxPRO Coding Bootcamp, I’m going back to Codecademy to bolster some gaps in my knowledge. Currently, I am learning about Redux and how to manage state and actions using this JavaScript library.
For my first assignment, I was tasked with building a Redux reducer function for a Wagon Train game. I had to add an initial state with supplies
, distance
, and days
. Then, I had to add actions such as gather
, travel
, and tippedWagon
. As a bonus, I added the property of cash
, then added the actions of sell
, buy
, and theft
. Check out the repository here.
I’m excited get back to learning new things after working on my capstone for several weeks. Redux is an extremely popular library so it’ll be a great skill to develop.
