You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running an app with React 18 emit a warning that defaultProps for functions components are deprecated.
Warning message: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.
We use the defaultProps for our own components generator in either the generated react-docgen metadata or the typescript transpiler. We do not support newer version of react-docgen (5.4.3 is our last supported version) that may have a fix for this in their code. The typescript transpiler needs to be adapted.
Affected core components:
All html components.
dcc
Link
Loading
Location
Tab
Tooltip
The text was updated successfully, but these errors were encountered:
Running an app with React 18 emit a warning that defaultProps for functions components are deprecated.
Warning message:
Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.
We use the defaultProps for our own components generator in either the generated react-docgen metadata or the typescript transpiler. We do not support newer version of react-docgen (5.4.3 is our last supported version) that may have a fix for this in their code. The typescript transpiler needs to be adapted.
Affected core components:
The text was updated successfully, but these errors were encountered: