React Server Components Explained Simply | Yassir's Dev Blog
You can pass serializable props from Server to Client components, but not functions, classes, or Dates. // Server Component import { LikeButton } from "./LikeButton"; // Client Component export default async function Post({ id }: { id: string }) { const post = await getPost(id); // Pass serializable data only return <LikeButton postId={post.id} initialLikes={post.likes} />; }