Replies: 2 comments 1 reply
-
Yes, our background is Waku doesn't do anything special for injecting styles and let React hoistable elements (codenamed React Float) do it. We want to follow React features and make Waku as thin as possible. |
Beta Was this translation helpful? Give feedback.
0 replies
-
I guess this is fixed with #427? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Related #344
I was investigating dev only FOUC(flash of unstyled contents) issue. I think Waku need to have the logic like this:
This seems like obvious but Waku implements this feature just in PRD: it build server bundle and then client bundle in PRD
I have some questions: Why did you do that? Do you have any background issue?
Solid-start team solves FOUC issue for SSR in Vite dev: walking the module graph based on requested routes, collect relevant styles, inline in a style tag.
So I was wondering if we could also build client bundle and then inject style or link tag in DEV.
If we can do it, Could you tell me what I need to pay attention to in DEV differently from PRD, or some reference you know?
Beta Was this translation helpful? Give feedback.
All reactions