remix-run/remix

some browser extensions prevent css render

Closed this issue · 4 comments

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)
image

errors in development
image

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: #5244

Duplicate of #4822