🧠 Big Brain React: Preventing expensive remounts by... preventing unmounts
One minute (re)mountsSo here was the situation: at work, we had a component that was incredibly expensive to mount – in some cases, mounting literally took a whole minute. This could have been tolerable if it happened rarely, e.g. perhaps when the page first loads, but unfortunately we were…