Logo
  1. Docs
  2. API References

useWeaverse

Published on Oct 11, 2023, updated a month ago

The useWeaverse hook allows components to access the Weaverse instance specific to each page, enabling the retrieval of page data, component instances, and configuration settings within a Weaverse Hydrogen theme.

Usage

Import the hook from @weaverse/hydrogen package then call it within a React Component

WEAVERSE_EMBEDED_CODE

Was this article helpful?