shinzou
shinzou
TTCTheo's Typesafe Cult
Created by shinzou on 6/9/2023 in #questions
<template> and stubborn hydration warnings...
2 replies
TTCTheo's Typesafe Cult
Created by shinzou on 5/10/2023 in #questions
@import is always async?
So the preload link works as long as you're serving your DSD on first paint. If JavaScript parses it and injects it into the DOM asynchronously, however, it will give you FOUC no matter what. It's strange, but this is what I observe. In my use case, I can just use JS to set visibility: hidden and avoid FOUC issues... I didn't want to use JS before, for the sake of progressive enhancement, but since the issue only occurs when JS is already rendering the page on the client side, we're guaranteed JS is enabled. I'll leave the question open in case someone comes along with more information
4 replies
TTCTheo's Typesafe Cult
Created by shinzou on 5/10/2023 in #questions
@import is always async?
4 replies
TTCTheo's Typesafe Cult
Created by shinzou on 5/10/2023 in #questions
@import is always async?
4 replies