/** * > [!NOTE] * > Install using `bunx shadcn@latest add @remix-utils/server-only`. * * > [!NOTE] * > This depends on `react`. * * The ServerOnly component is the opposite of the ClientOnly component, it lets you render the children element only on the server-side, avoiding rendering it the client-side. * * You can provide a fallback component to be used on CSR, and while optional, it's highly recommended to provide one to avoid content layout shift issues, unless you only render visually hidden elements. * * ```tsx * import { ServerOnly } from "remix-utils/server-only"; * * export default function Component() { * return ( * }> * {() => } * * ); * } * ``` * * This component is handy to render some content only on the server-side, like a hidden input you can later use to know if JS has loaded. * * Consider it like the `