-
Notifications
You must be signed in to change notification settings - Fork 3
MF: Use css for data-mf instead of js #258
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
base: main
Are you sure you want to change the base?
Conversation
❌ Playwright visual snapshot differences were detected.View the Playwright report |
✅ Deploy Preview will be available once build job completes!
|
❌ Playwright visual snapshot differences were detected.View the Playwright report |
❌ Playwright visual snapshot differences were detected.View the Playwright report |
❌ Playwright visual snapshot differences were detected.View the Playwright report |
793c845
to
bb7d3b6
Compare
71fc686
to
bb8abbe
Compare
Moves the primary
data-mf
based theme switching to css instead of js.This should slightly increase initial render time (mostly on oldframe), since the css can load before the js.
This will also make it a little easier to remove all the theme switches later since
data-mf
should now be a reliable way to identify old/new components.This needs a good regression pass.
Small matching pr on documentation to fix redocly with this method of switching.
nginx/documentation#563