Skip to content

Getter with params not reactive? #536

Answered by posva
3zzy asked this question in Help and Questions
Jun 15, 2021 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

You need a computed where you call the function:

const data = computed(() => DataStore.getDataById({ dataType: 'dynamic', dataId: props.dataId }))

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@3zzy
Comment options

@3zzy
Comment options

@posva
Comment options

Answer selected by 3zzy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants