Skip to content

Conversation

@tidychips
Copy link

Fixes #709, #763, #774

What did you change (functionally and technically)?
Removes defaultProps for functional components as React 18.3 warns that they're deprecated, and React 19 fully removes support for them.

Checklist (remove this list before you submit the PR)

  • Are there tests for the new code? Existing tests cover these changes
  • Does the code comply to our code conventions? Yes
  • Does the PR resolve the whole issue? Yes

Additional review hints (remove this list before you submit the PR)

  • Besides the code review, what should the reviewer test? Regression test previous functionality
  • Are there any edge cases? None that I know of
  • Do you have any test files or test set-up? No
  • Could your changes cause side effects elsewhere in the code base? Yes

@changeset-bot
Copy link

changeset-bot bot commented May 1, 2025

🦋 Changeset detected

Latest commit: 517d8e3

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
react-mentions Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@vercel
Copy link

vercel bot commented May 1, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
react-mentions ❌ Failed (Inspect) May 1, 2025 3:08pm

@hbmartin
Copy link

This package looks abandon but I am working to resurrect with a modern rewrite i.e. React 19 and TypeScript 5
https://github.com/hbmartin/react-mentions-ts

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Mention: Support for defaultProps

4 participants