react-vis icon indicating copy to clipboard operation
react-vis copied to clipboard

⚠️ Some components throw `Support for defaultProps will be removed from function components ...` in React 18.3 / 19

Open av-k opened this issue 9 months ago • 0 comments

Warning text:

Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.

The list of affected components to fix (probably not completed):

  • [ ] DiscreteColorLegendItem
  • [ ] HorizontalGridLines
  • [ ] VerticalGridLines
  • [ ] XAxis
  • [ ] YAxis
  • [ ] AxisLine
  • [ ] Voronoi

av-k avatar May 14 '24 09:05 av-k