Skip to content

React component classes must extend React.Component #4

Description

@teone

Just installed this package and trying to display some datas I'm getting this errors:

Warning: PieChart(...): React component classes must extend React.Component.warning 
Uncaught Invariant Violation: PieChart.render(): A valid ReactComponent must be returned. You may have returned undefined, an array or some other invalid object.

What can this be about?

I would also suggest to display sample data format in the readme.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions