import { Suspense } from 'react' import ComponentClient from './component.client' type Props = { file: string params: Promise> } async function ComponentServer(props: Props) { const params = await props.params return ( {JSON.stringify(params)} ) } export default function Component(props: Props) { return (
File: {props.file}
Loading Server...
}> Loading Client...}> ) }