mobxjs / mobxjs/mobx

Various deprecation warnings in tests

Open
#3,923 0 comments 0 reactions 1 assignee View on GitHub

@iChenLei is already working on this.

Since Sep 10, 2024.

🍗 enhancement 🙏 help wanted
Dominant language
TypeScript
Stars
28.2k
Forks
1.8k
Avg merge
1h 38m
Merged PRs (30d)
1

Description

Warning: ReactDOMTestUtils.act is deprecated in favor of React.act. Import act from react instead of react-dom/test-utils

Warning: StatelessComp: Support for defaultProps will be removed from memo components in a future major release. Use JavaScript default parameters instead.

Warning: An update to null inside a test was not wrapped in act(...).

PR welcome

Contributor guide

Open the contributing guide

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.