See normally when an algorithm requires The Entire Global Supply Of Ram, a software engineer would consider that not a good algorithm, and would try and make a better one instead of optimising the entire planet for paperclip manufacturing.
Unfortunately we accidentally gave a bad software engineer too much money
THERE we go, got it
I feel better and worse that it was hard to figure out because it was actually like six different bugs with similar symptoms (and a similar root cause, I just made the same mistake in a bunch of places)
this thought brought to you by strict mode doing its job and fucking my state up, lol
I've been banging my head against it for a couple of days, trying to figure out what I did wrong in this component. finally occurred to me to just reread the docs that explain what strict mode does, why, and how to fix the bugs it exposes.
I'm relieved that my mistake isn't quite basic enough to be in there verbatim, but I have a much clearer idea of where to look now