Solid · Partial values
Partial arrays
An array item is in the partial value from the moment it opens, with only the keys received so far: an item has no initial value to start from. Code that renders an array while it streams must treat every key of an item as possibly missing.
z.object({
nights: z.array(z.object({ night: z.string(), title: z.string() })),
})Stream, chunk by chunk
{"nights":[
{"night":"2026-10-23","title":"The Tempest"},[{ night: '2026-10-23', title: 'The Tempest' }]Runs in this page on the installed package. The input and the expected output are defined by the example.