Skip to content

Use ReactDOM.createRoot instead of ReactDOM.render#238

Closed
ZeroIntensity wants to merge 6 commits intoreactive-python:mainfrom
ZeroIntensity:patch-1
Closed

Use ReactDOM.createRoot instead of ReactDOM.render#238
ZeroIntensity wants to merge 6 commits intoreactive-python:mainfrom
ZeroIntensity:patch-1

Conversation

@ZeroIntensity
Copy link

Description

ReactDOM.render is deprecated as of React 18 (see here), and removed in React 19 (see here). This switches to the alternative, ReactDOM.createRoot(...).render(<Root />).

Checklist

Please update this checklist as you complete each item:

  • Tests have been developed for bug fixes or new functionality.
  • The changelog has been updated, if necessary.
  • Documentation has been updated, if necessary.
  • GitHub Issues closed by this PR have been linked.

By submitting this pull request I agree that all contributions comply with this project's open source license(s).

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants