#
useRuntimeMode
Retrieve the runtime mode.
#
Reference
const mode = useRuntimeMode()
#
Parameters
None
#
Returns
Either "development"
or "production"
.
#
Usage
import { useRuntimeMode } from "@squide/firefly";
const mode = useRuntimeMode();