Experimental
useLazyModuleMetadata is a lazy version of useModuleMetadata React Hook.
useLazyModuleMetadata
This hook will not fetch the metadata until the returned function is called.
const { called, data, error, loading, execute } = useLazyModuleMetadata(); Copy
const { called, data, error, loading, execute } = useLazyModuleMetadata();
This hook is experimental and may change in the future.
useLazyModuleMetadata
is a lazy version of useModuleMetadata React Hook.This hook will not fetch the metadata until the returned function is called.