Skip to content

v0.0.17

Choose a tag to compare

@Kinfe123 Kinfe123 released this 13 Nov 08:26
· 36 commits to main since this release
fa2421e

A promise that settles to the object holding it works, as under React Server Components.

  • A server action can return an object whose promise settles to that object: the promise
    settles to the same object in the browser. Before, the server sent it again without end and its
    event loop stalled. A stream's chunks can refer to the object holding the stream too.
  • A client component can receive such a prop, and its promise (or stream chunk) gives back the
    same object, on the server render and in the browser. Before, React's server render overflowed
    its stack.
  • A promise or stream that appears twice in a result, or twice in one island's props, is one
    promise or stream in the browser.