Warning: ReactDOM.hydrate is no longer supported in React 18

Open
#657 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Domain
frontend

Research direction

The report names Next.js, React 18.1.0, and react-draggable 4.4.5 but no repository file or test. Start by reproducing the warning with those versions and trace whether it originates in react-draggable or the host app; done means the React 18 warning is no longer emitted.

Written by the indexing model from the issue text.

Description

Hi, I am getting this warning:

next-dev.js?3515:25 Warning: ReactDOM.hydrate is no longer supported in React 18. Use hydrateRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more

"next": "^12.1.6",
"react": "^18.1.0",
"react-draggable": "^4.4.5"

Thank you

Dominant language
JavaScript
Stars
9.3k
Forks
1k
Avg merge
3d 8h
Merged PRs (30d)
4

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from react-grid-layout/react-draggable

All issues in react-grid-layout/react-draggable

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.