Skip to content

socket io and manually updating the cache #2075

Answered by JoviDeCroock
hgulersen asked this question in Q&A
Discussion options

You must be logged in to vote

Hey,

What kind off cache are you using? Default or normalized? This question is relevant because in the default cache we won't be able to offer that functionality instead we'd advise you to abstract the logic in some hook that listens to your websocket and appends the data to its own localstate.

In our normalized cache, we've been thinking about this functionality. There's even an open pr for it currently.

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by kitten
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants