-
The classic demo app for a realtime-ready framework is normally a chat application. You open up two windows, send a chat in one window, it shows up in both. Pure magic 🎩 ✨ I love so many concepts in Blitz, but try as I might I'm not seeing the answer for building a simple realtime application like this. Rails has Action Cable, Django has Channels, Apollo Server has Subscriptions, Phoenix has Channels, Fiber has gofiber/websocket, actix has If I want to build a real time chat app in Blitz, where do I start? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
Great question! As you noticed we currently don't have any built in solution for pushing from server to client. We want to add this, but we're still pre 1.0 and with limited time. My focus for 1.0 is stability and fixes, so will likely be some time before this gets added unless someone else steps up to lead the charge :) Currently the recommendation is to use a third-party service like Pusher or Room Service. Note: Currently you can use polling, which may satisfy many use cases. You can set the |
Beta Was this translation helpful? Give feedback.
-
But what about |
Beta Was this translation helpful? Give feedback.
Great question! As you noticed we currently don't have any built in solution for pushing from server to client. We want to add this, but we're still pre 1.0 and with limited time. My focus for 1.0 is stability and fixes, so will likely be some time before this gets added unless someone else steps up to lead the charge :)
Currently the recommendation is to use a third-party service like Pusher or Room Service.
Note: Currently you can use polling, which may satisfy many use cases. You can set the
refetchInterval
option in the third argument to all theuseQuery
hooks