Hook to access the full AppShell context including configuration and dynamic data
React hook to access the full AppShell context, including both static configuration (title, icon, modules) and dynamic context data. For better performance, consider using useAppShellConfig() or useAppShellData() if you only need one or the other.
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
This avoids unnecessary re-renders when only one context changes.
// Instead of this:const { configurations } = useAppShell();// Use this for better performance:const { configurations } = useAppShellConfig();