remix
remix copied to clipboard
some browser extensions prevent css render
What version of Remix are you using?
1.9.0
Steps to Reproduce
This happens with chrome extensions like 'Fair AdBlocker' and 'Grammer & Spell Checker' so i have tried it with the default configuration and this throw errors in development and production
those errors disappear when disable all extensions
Expected Behavior
no errors
Actual Behavior
errors in production (vercel deployment)
errors in development
+1
related:
- https://remix.run/docs/en/v1/pages/gotchas#browser-extensions-injecting-code
- https://github.com/remix-run/remix/issues/4822
- https://github.com/remix-run/remix/discussions/4902
- https://github.com/remix-run/remix/issues/4651
I was able to resolve my issue by invoking clearBrowserExtensionInjectionsBeforeHydration()
prior to executing hydrateRoot()
.
https://gist.github.com/OnurGvnc/31f03f0d5237b78224aa083493fda645
I have created a discussion for this issue: https://github.com/remix-run/remix/discussions/5244
Duplicate of https://github.com/remix-run/remix/issues/4822