Skip to content

Charts: warning coming from recharts pre 2.13 #6551

@perryd01

Description

@perryd01

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.

recharts/recharts#3615 (comment)

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

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

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    Status

    🆕 New

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions