react-jsx-highcharts: Can't render the SimpleLine example

Bug or Feature Request?

Bug

Description

I’m trying to render the SimpleLine example on my own project. I’m currently using React 16.4.0, Highcharts 6.0.0 and react-jsx-highcharts 3.1.0 and I’m on webpack 4.5 When implementing the SimpleLine project this happens when the project renders:

Uncaught Error: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: object.

Check the render method of `HighchartsWrappedComponent`.

I’m pretty sure this might be due to something specific on my end but I was wondering if maybe someone had the same issue here, or to get an hint on what could trigger this.

How to reproduce

Live demo demonstrating bug

Versions

  • React JSX Highcharts version: 3.1.0
  • Highcharts version: 6.0.0
  • React version: 16.4.0

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 20 (7 by maintainers)

Most upvoted comments

Apologies, misread the previous comment.