This event fires when the EventSource connection is established.
The default event handler logs a message that adapts the message based on wether includeDrafts is set, and if waitFor="function" is set.
Set <SanityLive onWelcome={false} /> to disable the default behavior.
Handles the Live Content API
welcomeevent.This event fires when the EventSource connection is established. The default event handler logs a message that adapts the message based on wether
includeDraftsis set, and ifwaitFor="function"is set. Set<SanityLive onWelcome={false} />to disable the default behavior.