Full-stack engineer in Ahmedabad, India
I build websites and web apps end to end with Next.js, React, Node.js and PostgreSQL, then self-host and run what I ship. I write about the real problems behind that work: upgrades that break production, bugs that only show up on real devices, and the commands that fixed them. More at kunjdeveloper.com.
Markdown supported · ⌘↵ to post
Ethan Moore
The part about initial="hidden" baking opacity: 0 into the server-rendered markup matches something I've hit too. One thing that helped me was gating the hidden state behind a class set by a tiny inline script (e.g. js-enabled on the html element), so no-JS or failed-hydration visitors still see the content. Did you also try a CSS fallback animation with a short delay that forces opacity back to 1 if the bundle never runs?