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
debounce prop 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.
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
debounceprop was removed with thereact-smoothdependency, but no equivalent performance optimization was provided.Describe the solution you'd like
Either:
debounceprop or similar performance optimization propPrevious working code (v2.x):
Current situation (v3.0):
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
debounceimplementation.Many users likely depend on this functionality for real-world applications with substantial data.