Replies: 2 comments
-
For example, here's a React hook that will subscribe to EventSource updates and automatically update an entry in a
|
Beta Was this translation helpful? Give feedback.
0 replies
-
I think we have But DX should be improved there a lot. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
graphql-yoga
is a popular GraphQL server, and it primary handles subscriptions via Server Sent Events, not WebSockets. Unfortunately, there is no easy way to currently get this working withgraphql-zeus
. However, there is a nice library@microsoft/fetch-event-source
that treatsEventSource
more like afetch
method.Would it make sense to add a plugin that exposes something like this:
Beta Was this translation helpful? Give feedback.
All reactions