function viewReferences<R extends object>(create: (id: string) => R): (id: string) => R; Returns a per-module cache of content references. A reference stays the same object while it is reachable, so frameworks can key Views by identity.
viewReferences functionfunction viewReferences<R extends object>(create: (id: string) => R): (id: string) => R; Returns a per-module cache of content references. A reference stays the same object while it is reachable, so frameworks can key Views by identity.