Skip to content

Error: rootStateRef.value is undefined when used with debounced #584

Closed Answered by posva
tobiasdiez asked this question in Help and Questions
Discussion options

You must be logged in to vote

Checking the code I noticed that toRef(uiStore.activeSearchQuery) should be toRef(uiStore, 'activeSearchQuery'). Or even better toRef(uiStore.$state, 'activeSearchQuery'). Other than that I can't give you more without a boiled down reproduction 😄

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@tobiasdiez
Comment options

@posva
Comment options

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

This discussion was converted from issue #583 on July 28, 2021 07:38.