Rendering
RSC serializable values
React boundary accepts specified values beyond JSON, including selected built-ins and Server Function references. Arbitrary classes and ordinary callbacks are not generally valid. Disclose only authorized fields. Source: https://react.dev/reference/rsc/use-client
Formal Syntax & Structure
nextjs syntaxnextjs
{ title: string; publishedAt: string }Working Example
Example Snippetnextjs
function articleCard(row:{title:string;publishedAt:Date;internalNote:string}){ return {title:row.title, publishedAt:row.publishedAt.toISOString()};}console.log(articleCard({title:'Forest reading',publishedAt:new Date('2026-01-03T00:00:00Z'),internalNote:'private'}));