Learned this the hard way today after 1 hour of debugging why my data wasn’t looping and nothing showed on the second page
Turns out.. in a multi-page JS project, even with JS modules, variables don’t survive page changes.
Click a link → page reload → memory goes poof ✨