Releases: whawker/react-jsx-highcharts
v5.0.3
v5.0.2
v5.0.1
v5.0.0
Breaking changes:
- Drop support for react < 17
- Drop support for highcharts < 9.1.2
- Drop support for old browsers. The supported browsers are:
- chrome >= 81
- edge >= 81
- firefox >= 78
- ios >= 12
- safari >= 12
New Features:
Other changes:
v4.3.2
[email protected]
v4.3.1
v4.2.1
v4.2.0 🌿
New Features
React 17 support
This release enables React 17 support, with some minor changes to useEffect
clean ups now the clean up function is always run asynchronously - Thanks @anajavi! (see #310 and #315 )
Typescript definitions
This release adds Typescript definitions to the react-jsx-highcharts
only, we hope to add support for the other packages in future releases. - Thanks @anajavi (see #303)
v4.1.0
New features
containerProps
support
Added the ability to pass a containerProps
prop to the root component of a chart. This allows you to set HTML attributes on the container <div>
the chart is rendered in.
Configuring how series data is updated via jsxOptions
When the data
prop on your <Series />
component changes, React JSX Highcharts calls setData
on that series internally.
In some scenarios, you may want to override the the default arguments of setData
such as setting updatePoints
to false when working with large amounts of data in a series.
Example using default options - WARNING - clicking the Green button will crash your browser tab
Example overriding updatePoints
to false
via a jsxOptions
prop on a series
See #281
Bug fixes
Internal changes
- Following current best practice React is imported with
import * as React from 'react'
(see #292) - Updated to Prettier 2 (see #280)
Thanks to @anajavi, @veloek and @lezan for there support in creating this release.