Subscribe to data in solid-start
I'm using Supabase with solid-start. I'm pulling data from the postgres db using
createServerData$
function. I'm hoping to have this page subscribe to the data and update if another user inserts data to the postgres table.
Are there any patterns to handle this using solid-start? I'm not sure how to subscribe in an SSR setting.4 Replies
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
Only if you have a singular server instance
Otherwise, I recommend using ably or some other service to handle subscriptions
In the server functions you can use Ablys http functions, and clientside realtime libraries
oh interesting. I'll look into that. Thank you very much for the insight
Np-also if you find a better alternative, lmk