--- title: "useStackApp" description: "React hook to retrieve the StackClientApp instance from the StackProvider." sidebarTitle: "useStackApp" icon: "react" mode: "wide" --- The `useStackApp` hook returns a `StackClientApp` object from the one that you provided in the setup flow. If you want to learn more about the `StackClientApp` object, check out the [StackApp](/sdk/objects/stack-app) documentation. ## Usage ```jsx import { useStackApp } from "@stackframe/stack"; function MyComponent() { const stackApp = useStackApp(); return