Open anzuj opened 5 months ago
Upvoting on this. +1
I'd like to second this.
I just upgraded from React 18.0 to React 18.2, and it calls console.error() on any use of defaultProps.
As a workaround I'm just manually filtering these from the console, but it's obviously less than ideal.
When running my React app with a
<Nouislider/>
, I get the below error in console:v^3.4.2",
Issue is caused by the defaultProps below: https://github.com/mmarkelov/react-nouislider/blob/master/src/index.js#L244
Would appreciate an update to avoid future problems regarding this.