Interface implemented by collections that can notify components of their mutations. The list components subscribe (via useWatched) to any prop collection that has a subscribe method, so they re-render when it changes.
useWatched
subscribe
Registers a mutation listener and returns a function that unregisters it.
Interface implemented by collections that can notify components of their mutations. The list components subscribe (via
useWatched) to any prop collection that has asubscribemethod, so they re-render when it changes.