Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: FOUC #184

Open
shon-button opened this issue Jan 28, 2023 · 0 comments
Open

fix: FOUC #184

shon-button opened this issue Jan 28, 2023 · 0 comments
Assignees

Comments

@shon-button
Copy link
Contributor

Issue: App load has a flash of unstyled components (FOUC)
Troubleshooting: Next.js 13 root layout replaces document and app files previous used to inject styles before app render
Resolution: implement a StyleRegistry class to be imported into root layout.tsx and used to wrap the child components.

@shon-button shon-button self-assigned this Jan 28, 2023
@shon-button shon-button modified the milestone: Sprint 4 Jan 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Status: Done
Development

No branches or pull requests

1 participant