Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow use of Html.lazy / Svg.lazy? #116

Open
Janiczek opened this issue Jun 10, 2022 · 0 comments
Open

Allow use of Html.lazy / Svg.lazy? #116

Janiczek opened this issue Jun 10, 2022 · 0 comments

Comments

@Janiczek
Copy link

I wish elm-charts allowed for using Html.lazy / Svg.lazy for particular parts of the chart, so that you could only pay the rendering work once for the actual chart and then compute only the interactive stuff as your hovering : List ... changed.

Right now it seems we're paying the whole view cost at all times. Wrapping C.chart in Html.Lazy helps shield it from unrelated Msgs, but still, for the actual interactivity of the chart, it feels like it should be possible to factor rendering the actual SVG chart away from the rendering of the interactive stuff (lines, tooltips, ...).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant