There's a bit of magic hidden in the latest Next release. It's...not for the faint of heart. setImmediate() is a wild solution to prerendering, but it works, and the result is surprisingly elegant.
Thank you to bolt.new for sponsoring!!! https://soydev.link/bolt
SOURCES
https://www.youtube.com/watch?v=eiC58R16hb8&t=271s
https://www.youtube.com/watch?v=zL1f0SJmzt0
https://github.com/rauchg/how-is-this-not-illegal/commit/87b2dcbf819d5e1e0a6685edf46864e1bff2a868#diff-85f77f2c1442a140dbd75e6b00ed6eb2016609ebea923ed3bbcb82d117d772f3L6
Check out my Twitch, Twitter, Discord more at https://t3.gg
S/O Ph4se0n3 for the awesome edit 🙏