ui5-webcomponents-react icon indicating copy to clipboard operation
ui5-webcomponents-react copied to clipboard

Charts: warning coming from recharts pre 2.13

Open perryd01 opened this issue 1 year ago • 1 comments

Describe the bug

Having a chart component rendered will throw a warning/error in the console, but everything works fine. Updating recharts 2.13 might be a solution.

The warning:

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

https://github.com/recharts/recharts/issues/3615#issuecomment-2407597181

Isolated Example

No response

Reproduction steps

No response

Expected Behaviour

No response

Screenshots or Videos

No response

UI5 Web Components for React Version

2.3.1

UI5 Web Components Version

2.3.0

Browser

Chrome

Operating System

macOS

Additional Context

No response

Relevant log output

No response

Organization

SAP GCID

Declaration

  • [X] I’m not disclosing any internal or sensitive information.

perryd01 avatar Oct 24 '24 16:10 perryd01

Hi @perryd01

the linked PR fixes the warning, but the types aren't compatible with our current implementation. We didn't find the time yet to check why.

Lukas742 avatar Oct 25 '24 06:10 Lukas742

:tada: This issue has been resolved in version v2.3.3 :tada:

The release is available on v2.3.3

Your semantic-release bot :package::rocket: