Skip to content

Recharts 3.7 uses Redux Toolkit APIs not available in 1.8, but dependency range allows 1.x.x #6933

@yalperg

Description

@yalperg

When using Recharts 3.7.0, the application crashes at runtime if @reduxjs/toolkit@1.8.x is resolved.

Recharts 3.7 imports and calls prepareAutoBatched from Redux Toolkit, but this function does not exist in RTK 1.8.x. Since Recharts allows @reduxjs/toolkit: "1.x.x || 2.x.x" in its dependencies, RTK 1.8.x can be installed, which leads to a runtime failure.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions