An exploration of best practices for updating local state based on changing props.
Please note that this article assumes a basic level of familiarity with React.js, the React Component Lifecycle and Redux.
If you’ve ever wondered how to effectively update the state of a Component in your React.js application based on changing props, then this article is for you. I hadn’t spent too much time thinking about this myself until recently, when I encountered a puzzling bug while working on my team’s capstone project for the Grace Hopper Software Engineering Bootcamp. Until that point, I suppose I just thought that…
I’m a Software Engineer and recent grad of the Grace Hopper Program at Fullstack Academy