useAppShellConfig() or useAppShellData() if you only need one or the other.
Signature
Returns
string | undefined
App title passed to AppShell
ReactNode | undefined
App icon passed to AppShell
RootConfiguration
Configuration object containing modules, settings resources, basePath, errorBoundary, and locale
ContextData
Custom context data passed to AppShell. Type-safe when augmented via
AppShellRegisterUsage
Basic Usage
Accessing Context Data
Type-Safe Context Data
Define your context data type using TypeScript module augmentation:Performance Considerations
This hook subscribes to both the config context and data context. If you only need configuration or only need context data, use the specialized hooks instead:- Use
useAppShellConfig()for static configuration only (title, icon, modules, basePath) - Use
useAppShellData()for dynamic context data only
Related Hooks
useAppShellConfig()- Access only configuration (better performance)useAppShellData()- Access only context data (better performance)