-
As title suggests, is it possible for data loader values to be refreshed with slider input in .md file calling the data loader? That would be super cool to get interactive plots for example. gani- |
Beta Was this translation helpful? Give feedback.
Answered by
mbostock
Mar 17, 2024
Replies: 1 comment 1 reply
-
No, data loaders are designed to run at build time, so they cannot respond to reactive inputs. As an alternative, you can either have your data loader generate data for all possible input parameters and then filter on the client, or you can switch to using client-side |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
Fil
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No, data loaders are designed to run at build time, so they cannot respond to reactive inputs. As an alternative, you can either have your data loader generate data for all possible input parameters and then filter on the client, or you can switch to using client-side
fetch
so that your data is not precomputed statically.