Extract sidebar component #59

Open
opened 2026-02-26 11:54:02 -08:00 by puregarlic · 1 comment
Owner

The channels sidebar should be set up as its own component, instead of importing all the individual parts into the home.tsx file.

The channels sidebar should be set up as its own component, instead of importing all the individual parts into the `home.tsx` file.
puregarlic added this to the Ludwig (MVP) milestone 2026-02-26 11:54:02 -08:00
Author
Owner

As discussed, we should also move the instance of the sidebar out of home.tsx and into the layout component for server-specific routes. I've verified that we can indeed execute clientLoader functions from layout files, so we'll want to move the get_channels invocation into the layout. It would be a good opportunity to provide a HydrateFallback function leveraging the SidebarSkeleton component.

As discussed, we should also move the instance of the sidebar out of `home.tsx` and into the layout component for server-specific routes. I've verified that we can indeed execute `clientLoader` functions from layout files, so we'll want to move the `get_channels` invocation into the layout. It would be a good opportunity to provide a `HydrateFallback` function leveraging the `SidebarSkeleton` component.
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
puregarlic/microclimate#59
No description provided.