Skip to content

Conversation

@sravan-s
Copy link
Contributor

@sravan-s sravan-s commented Mar 23, 2023

Replace renderToString from react-dom/server with custom function
This function was creating issue in customers with cra@4 & react@17
fixes: https://sendbird.atlassian.net/browse/UIKIT-3403

@sravan-s sravan-s requested a review from HoonBaek March 23, 2023 06:25
@sravan-s sravan-s self-assigned this Mar 23, 2023
@sravan-s sravan-s force-pushed the fix/UIKIT-3403/react-dom-server branch from 1f936c9 to 893d6b8 Compare March 23, 2023 06:34
@@ -1,23 +1,14 @@
import React from 'react';
Copy link
Contributor

Choose a reason for hiding this comment

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

Need to remove this line

@sravan-s sravan-s force-pushed the fix/UIKIT-3403/react-dom-server branch from f9d7a64 to 2b711fe Compare March 23, 2023 06:53
@sravan-s sravan-s force-pushed the fix/UIKIT-3403/react-dom-server branch from 2bf47bd to ceb5797 Compare March 23, 2023 07:29
@sravan-s sravan-s merged commit b356b94 into main Mar 23, 2023
@sravan-s sravan-s deleted the fix/UIKIT-3403/react-dom-server branch March 23, 2023 07:54
sravan-s added a commit that referenced this pull request Jun 19, 2023
If a path is set on Rollup.config.externals, it wont be bundled to the
library during rollup build step. We have removed react-dom/server
in: #449
So, its okay to remove it
sravan-s pushed a commit that referenced this pull request Jun 20, 2023
If a path is set on Rollup.config.externals, it wont be bundled
to the library during rollup build step. We have removed react-dom/server
in: #449
So, its okay to remove it

Fixes: https://sendbird.atlassian.net/browse/UIKIT-4191
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants