test: reproduce dev-mode <html> class stripped after hydration
Adds an e2e fixture using the classic no-flash-of-incorrect-theme pattern: an inline <head> script seeds a class + attribute onto <html> from localStorage before React hydrates. In next dev on the 16.3 line the seeded class/attribute is stripped by a React commit shortly after hydration (a MutationObserver shows add -> reset). Production is unaffected, and 16.2.11 is unaffected in both modes. Bisecting published canaries narrows the regression to 16.3.0-canary.3 (canary.2 is good).
Showing
Please
register
or
sign in
to comment