Skip to content

useTableUpdates

useTableUpdates(table, callback, options?): object

Hook to subscribe to UPDATE events on a table

Parameter Type
table string
callback (payload) => void
options? Omit<UseRealtimeOptions, "channel" | "event" | "callback">

object

Name Type Default value
channel RealtimeChannel | null channelRef.current