useApp
The useApp
function is a React hook that returns various information about your site.
Usage
Use useApp
hook can be used in any React component.
import { useApp } from "builderoo";
const { locale, menu, publicAssetPrefix, isDevelopMode, isEditorMode } = useApp()