Skip to content

Tag invalidation without subscribers #5050

Answered by andyl-ioki
andyl-ioki asked this question in Q&A
Discussion options

You must be logged in to vote

I think the problem what we have is, that we relied on the fact, that initiate waits for the re-fetch result. But as you stated and as I understood it, it may return the cached data 👍 So we would need additional logic to handle that waiting for the actual result here.

So we go into the direction to use the initiate part with forceRefetch.
Not the best solution, but it works for now.

We will remove the initiate code in the near future anyways and use hooks then. It's a lot easier.

Thanks for your help!

Replies: 1 comment 8 replies

Comment options

You must be logged in to vote
8 replies
@markerikson
Comment options

@phryneas
Comment options

@andyl-ioki
Comment options

@andyl-ioki
Comment options

Answer selected by andyl-ioki
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