Skip to content

v0.0.21

Choose a tag to compare

@Kinfe123 Kinfe123 released this 13 Nov 17:34
· 25 commits to main since this release
23794aa

Server actions take and return what React Server Components let them.

  • A value the codec cannot carry (an element, a plain function, a class instance, a local symbol)
    can be an action argument. The action gets a stand-in it can only return, and the browser gets
    the same object back, as a temporary reference. Reading or changing the stand-in throws.
  • An action bound with .bind in the browser can be sent to another action, and an action the
    browser sent can be bound again on the server and returned.
  • An action can return an inline action that captured values. Before, the call answered 500.