Skip to content

Glossary: Firebase and Supabase

onSnapshot

Also written: unsubscribe

A Firestore function that calls your callback straight away and again each time a document or query changes. It returns an unsubscribe function that stops the listener.

Where the book teaches it

Related terms

snapshotRealtime