Skip to content

Update values in data loader through slider input in js block in md file possible? #1087

Answered by mbostock
gganapat asked this question in Q&A
Discussion options

You must be logged in to vote

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.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@gganapat
Comment options

Answer selected by Fil
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants