reactjs / react.dev

The React documentation website
https://react.dev/
Creative Commons Attribution 4.0 International
11k stars 7.51k forks source link

CSS Breaking changes with React18 #6169

Open imzaidkamali opened 1 year ago

imzaidkamali commented 1 year ago

There are behavioral difference for CSS in strict mode and without it after upgrading the project to React18. The official document doesn't mention about any possible impact on CSS. Please provide any known changes on CSS with React18. E.g. class="MuiButtonBase-root-MuiButton-root" works in strict mode but has to change it to class="MuiButtonBase-root MuiButton-root" for it to work without strict mode

rickhanlonii commented 1 year ago

I'm not familiar with the issue, can you provide a repro?