Is there a way/pattern to swap a server and client component seamlessly
https://codesandbox.io/p/devbox/hotswap-serverandclientcomponents-kjy7ps?file=%2Fapp%2Fpage.tsx
Or is this a pattern we should avoid?
Essentially here we have a server sidebar
and a client sidebar
Is it a bad pattern to want to do? Which is why i can't find much on it?
ServerSidebar loads first instantly
ClientSidebar loads after (mostly to update an active state ) - This is the same as the server sidebar visually except with state
0 Replies