Skip to content

Conversation

@jzempel
Copy link
Member

@jzempel jzempel commented Mar 20, 2025

Description

Replace the react-dom/server renderToString import with a static SVG icon string. The import causes issues in some environments and adds unwanted bloat.

Detail

https://react.dev/reference/react-dom/server/renderToString#removing-rendertostring-from-the-client-code

@jzempel jzempel requested a review from a team as a code owner March 20, 2025 17:41
Copy link
Contributor

@ze-flo ze-flo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@jzempel jzempel merged commit 880ff37 into main Mar 20, 2025
9 checks passed
@jzempel jzempel deleted the jzempel/x-renderToString branch March 20, 2025 18:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

2 participants