Replies: 1 comment
-
I'd use a render function. See for example https://observablehq.com/d/716cfebafbd2683a |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a plot that gets rerendered very frequently. The plot includes a custom tooltip text that is fairly expensive to calculate. Although the tooltip won't be viewed most of the time, the
title
reducer still gets invoked for every single group on every render.What would be the recommended way to calculate the
title
value only for the index that is about to be shown?Beta Was this translation helpful? Give feedback.
All reactions