Skip to content

React 19: replace defaultProps with es6 defaults#158

Open
jackw wants to merge 2 commits into
theKashey:masterfrom
jackw:jackw/defaultprops-es6-defaults
Open

React 19: replace defaultProps with es6 defaults#158
jackw wants to merge 2 commits into
theKashey:masterfrom
jackw:jackw/defaultprops-es6-defaults

Conversation

@jackw

@jackw jackw commented Apr 27, 2026

Copy link
Copy Markdown

This package has React 19 support via peerDeps but the code uses defaultProps which are removed in React 19.

This PR updates usage of defaultProps with with es6 defaults so the defaults apply at runtime for React 19.

@stale

stale Bot commented Jun 26, 2026

Copy link
Copy Markdown

This issue has been marked as "stale" because there has been no activity for 2 months. If you have any new information or would like to continue the discussion, please feel free to do so. If this issue got buried among other tasks, maybe this message will reignite the conversation. Otherwise, this issue will be closed in 7 days. Thank you for your contributions so far.

@stale stale Bot added the state label Jun 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant