Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compatibility with React 19 (and React 18) #1723

Open
catchergeese opened this issue Aug 19, 2024 · 2 comments
Open

Compatibility with React 19 (and React 18) #1723

catchergeese opened this issue Aug 19, 2024 · 2 comments

Comments

@catchergeese
Copy link

Currently, rich-text-react-renderer does not always work with React 19 (and shows a deprecation message on React 18).

In particular, the case that breaks for me is when I click "Hyperlink" in rich text editor toolbar:
image

The code responsible for this action's failure is in ModalDialogLauncher.tsx.

It uses pre-React 18 method of attaching a root React node on HTML element in DOM. Migration to an updated React API is trivial and well-documented. I believe it should also be possible to provide both APIs at the same time with a runtime check.

Would it be possible to migrate this part to enable users on React 18 and React 19?

Copy link

Marking issue as stale since there was no activity for 30 days

@github-actions github-actions bot added the stale Used to mark when there was no activity for a set period of time label Sep 19, 2024
@catchergeese
Copy link
Author

catchergeese commented Sep 19, 2024

This issue still persists.

@github-actions github-actions bot removed the stale Used to mark when there was no activity for a set period of time label Sep 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant