coinjar / react-native-wagmi-charts

A sweet & simple chart library for React Native that will make us feel like We're All Gonna Make It.
MIT License
589 stars 116 forks source link

fix: split SVGs in ChartPath to improve performance #177

Closed felipebrahm closed 5 months ago

felipebrahm commented 5 months ago

Description

This improves the UI's FPS when there's 200+ data points in a graph.

Thanks to @wojtus7 for implementing this patch.

Screen Captures

Here's a before + after video. You can see how the UI's FPS increase when applying this fix.

honeybadger26 commented 5 months ago

Thanks for the PR @felipebrahm. Looks good 👍