day 55 - retrieving stuff from localStorage, and updating state from child components
Spent today figuring out how to load things from localStorage. I would try to declare a variable where variable = JSON.parse(localStorage.getItem("saved")) (where “saved” is an array) or something like that, then use it in my component where I’d map it, but I would get an error stating that there is no such variable. Server-side rendering v client-side rendering This issue exists due to a difference between server and client-side rendering (Next....