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
• JavaScript Visualized - Event Loop, Web AP...
• Optimizing LCP: Partial Prerendering deep ...
https://github.com/rauchg/how-is-this...
Check out my Twitch, Twitter, Discord more at https://t3.gg
S/O Ph4se0n3 for the awesome edit 🙏