React 18.3.0/19.0.0 support for react-markdown ^6.0.0 #828
Labels
🙅 no/wontfix
This is not (enough of) an issue for this project
👎 phase/no
Post cannot or will not be acted on
Initial checklist
Problem
React 18.3.0 gives deprecation warnings for
defaultProps
usage still present in v6. This would be needed for users that are unable to support pure ESM at this point.Solution
Remove
defaultProps
usage in v6 and publish a new release with the changes.Alternatives
Without this change users are unable to move to React 19 with react-markdown if they need to support commonjs.
The text was updated successfully, but these errors were encountered: