📄️ Composable Provider
Next.js uses the App component to initialize pages. In Composable UI, the composable-ui/src/pages/app.tsx provides the configurations for Next.js to initialize the pages. All settings required for app.tsx file are configured in the composable-ui/src/components/composable.tsx file, which references other configurations for Composable UI components.
📄️ Hooks
You can use hooks to share and reuse logic across multiple components within Composable UI and improve maintainability and reusability of the code. The following hooks are located in the composable-ui/hooks/ directory:
📄️ State
Composable UI uses tRPC with React Query to provide functionality for fetching, mutating, caching, and synchronizing server state to all Components in the application.