The getStyleElement() method of ServerStyleSheet returns an empty style
Question We upgraded our Yarn version from 1.22.19 to 4.3.0 and TypeScript from 4.8.4 to 5.4.5, while keeping the styled-components version unchanged and updating other modules. Since this upgrade, although the HTML is correctly generated in SSR mode, the getStyleElement() method of ServerStyleSheet returns an empty style tag. This issue did not occur before the […]