Skip to content

[Doc] Update README to use React 18 createRoot API#11031

Merged
djhi merged 1 commit intomarmelab:masterfrom
hamed-zeidabadi:fix/update-react-18-api-in-readme
Nov 7, 2025
Merged

[Doc] Update README to use React 18 createRoot API#11031
djhi merged 1 commit intomarmelab:masterfrom
hamed-zeidabadi:fix/update-react-18-api-in-readme

Conversation

@hamed-zeidabadi
Copy link
Contributor

Replace deprecated ReactDOM.render with createRoot API from react-dom/client. This aligns the documentation with React 18 best practices and the actual implementation used in the examples.

Problem

Describe the problem this PR solves

Solution

Describe the solution this PR implements

How To Test

Describe the steps required to test the changes

Additional Checks

  • The PR targets master for a bugfix or a documentation fix, or next for a feature
  • The PR includes unit tests (if not possible, describe why)
  • The PR includes one or several stories (if not possible, describe why)
  • The documentation is up to date

Also, please make sure to read the contributing guidelines.

Replace deprecated ReactDOM.render with createRoot API from react-dom/client.
This aligns the documentation with React 18 best practices and the actual
implementation used in the examples.
Copy link
Contributor

@djhi djhi left a comment

Choose a reason for hiding this comment

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

Thanks!

@djhi djhi added this to the 5.13.0 milestone Nov 7, 2025
@djhi djhi merged commit 80d4774 into marmelab:master Nov 7, 2025
0 of 2 checks passed
@djhi djhi changed the title docs: update README to use React 18 createRoot API [Doc] Update README to use React 18 createRoot API Nov 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants