-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed as not planned
Closed as not planned
Copy link
Labels
needs reproductionUse this label when an issue is submitted without proper reproductionUse this label when an issue is submitted without proper reproductionpending responsePending response from the issue requesterPending response from the issue requester
Description
Feature Request
Is your feature request related to a problem?
Yes. After upgrading to v3.0, charts with large datasets (500+ data points) have significant performance issues. The debounce prop was removed with the react-smooth dependency, but no equivalent performance optimization was provided.
Describe the solution you'd like
Either:
- Restore a
debounceprop or similar performance optimization prop - Add built-in data sampling/virtualization options
- Provide official performance optimization patterns in the migration guide
Previous working code (v2.x):
<ChartContainer debounce={200}>
<LineChart data={largeDataset}>
{/* 1000+ data points - worked smoothly */}
</LineChart>
</ChartContainer>Current situation (v3.0):
- Charts are slow/laggy with large datasets
- Users must implement custom workarounds (data sampling, disable animations, etc.)
- No official performance guidance provided
Additional context
The migration guide mentions "all animations are now maintained within recharts itself" but the new system doesn't handle large datasets as efficiently as the previous debounce implementation.
Many users likely depend on this functionality for real-world applications with substantial data.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
needs reproductionUse this label when an issue is submitted without proper reproductionUse this label when an issue is submitted without proper reproductionpending responsePending response from the issue requesterPending response from the issue requester