News for hackers. Stuff that matters.
Re:GraphQL Live Queries with live directive by notrab on Monday January 16, 2023 @03:41PM (#34405234)
I should add that using regular queries with Apollo, URQL, etc. is perfectly fine. If you're building an app that requires realtime data then `@live` queries can be really useful. The data can update in realtime without refreshing and there's no need for WebSockets!

There are limitations to server-sent events, but `@live` queries is a perfect fit imo.

There are no comments on this comment yet.