null on the storefront,
during server rendering and outside a Weaverse root.
The component re-renders whenever the selection changes. The adapter’s root
mounts the selection store: withWeaverse on the React Router root
Layout, or WeaverseNextRootProvider in Next.js. Without it, the hook
keeps returning the empty selection and the SDK logs a warning in Studio.
Returns
StudioSelection
The current Studio selection.