Replies: 1 comment 2 replies
-
If this is merged #457 it will be possible, meanwhile you can do what that PR do yourself, subscribe to your WS and call mutate to update the cache of SWR. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What if we would like to achieve realtime not by polling, but by connecting to a stream (using websockets), and persist emissions of that stream in the cache, that would be accessible cross routes.
Would
swr
be suited for that?Beta Was this translation helpful? Give feedback.
All reactions