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