v2.13.0-alpha.5
版本发布时间: 2024-09-06 01:32:02
recharts/recharts最新发布版本:v2.13.0-alpha.5(2024-09-06 01:32:02)
What's Changed
Some non-breaking bug fixes that need more testing with React 19. Fixes JSX type issue for React 19 when using @types/react@19
Fix
-
Line
/Area
:clipDot
setting fails to take effect if set as the only DotProp by @ckifer in https://github.com/recharts/recharts/pull/4674 fixes https://github.com/recharts/recharts/issues/4671 -
Tooltip
: Tooltip now renders correctly whendata
is set on the graphical item rather than the higher level chart by @HHongSeungWoo in https://github.com/recharts/recharts/pull/4718 fixes https://github.com/recharts/recharts/issues/4717 -
Pie
: fix duplicate key issue when "key" exists in chart data (try not use "key" as a data point) by @ckifer in https://github.com/recharts/recharts/pull/4958 fixes https://github.com/recharts/recharts/issues/4858
TypeScript
-
XAxis
/YAxis
: Correct Cartesian axis event types by @ckifer in https://github.com/recharts/recharts/pull/4967 fixes https://github.com/recharts/recharts/issues/4959 -
TypeScript
: return JSX in a function instead of a class component by @ckifer in https://github.com/recharts/recharts/pull/4970 fixes React 19 type issues https://github.com/recharts/recharts/issues/4558#issuecomment-2330578162
Full Changelog: https://github.com/recharts/recharts/compare/v2.13.0-alpha.4...v2.13.0-alpha.5