pull down to refresh
reply
reply
reply
You probably told it to run after hydration, and that’s what it did, haha
But when we don’t remove the node, we don’t interfere with hydration, so we don’t need to run it after hydration.
Edit: But sounded like it was still broken after the first prompt, so you prompted it again, and that contained the actual, inspiring fix via CSS haha
Mhh,
node.style = "visibility: hidden"leaves empty space behind.But
node.style = "display: none"should work! The node is still there for React without taking up any space in the DOM.