#
useRuntime
Retrieve a FireflyRuntime
instance.
When possible, prefer useRoutes, useNavigationItems, useLogger, useSession to useRuntime
.
#
Reference
const runtime = useRuntime()
#
Parameters
None
#
Returns
A FireflyRuntime
instance.
#
Usage
import { useRuntime } from "@squide/firefly";
const runtime = useRuntime();
runtime.logger.debug("Hello!");