w9d4
One of the more interesting bugs I encountered today was my first time using the ComponentDidUpdate lifecycle method. Within that, I had called a fetch that caused some weird things on the screen. After some digging, I decided to console log the fetch action, which revealed itself to be caught in a loop, or calling itself recursively, or some other weird behavior. Some additional logic in the lifecycle method helped fix the issue.
















