next15 using mobx-react-devtools issue

Open
#119 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Domain
devtools, frontend

Research direction

Start by reproducing the warning with the listed mobx, mobx-react, Next.js 15.2.2, React 19, and React DOM versions. Inspect the warning details and attached image to identify which component is using componentWillMount; done means the compatibility problem is explained and the appropriate project change or upgrade path is identified.

Written by the indexing model from the issue text.

Description

"mobx": "^6.13.7",
"mobx-react": "^9.2.0",
"mobx-react-lite": "^4.1.0",
"next": "15.2.2",
"react": "^19.0.0",
"react-dom": "^19.0.0",

terminal:

componentWillMount has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.

  • Move code from componentWillMount to componentDidMount (preferred in most cases) or the constructor.

Please update the following components: t

nextjs15:

Image

I tried all ways I finded on the Internet,but I didn't solve it ,what's the real problems?I install newest react,it shoud't have this problem riight?

Dominant language
JavaScript
Stars
1.2k
Forks
45
PR merge metrics
No merged PRs in 30d

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 mobxjs/mobx-react-devtools

All issues in mobxjs/mobx-react-devtools

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.