react/fixtures
Sebastian Markbåge aef7ce5547
[Flight] Progressively Enhanced Server Actions (#26774)
This automatically exposes `$$FORM_ACTIONS` on Server References coming
from Flight. So that when they're used in a form action, we can encode
the ID for the server reference as a hidden field or as part of the name
of a button.

If the Server Action is a bound function it can have complex data
associated with it. In this case this additional data is encoded as
additional form fields.

To process a POST on the server there's now a `decodeAction` helper that
can take one of these progressive posts from FormData and give you a
function that is prebound with the correct closure and FormData so that
you can just invoke it.

I updated the fixture which now has a "Server State" that gets
automatically refreshed. This also lets us visualize form fields.
There's no "Action State" here for showing error messages that are not
thrown, that's still up to user space.
2023-05-03 18:36:57 -04:00
..
art Copy from build to node_modules instead of linking to builds (#26210) 2023-02-21 14:48:37 -05:00
attribute-behavior Rename `yarn start` to `yarn dev` and `yarn start:prod` to `yarn start` (#26209) 2023-02-21 14:18:21 -05:00
concurrent/time-slicing Use .slice() for all substring-ing (#26677) 2023-04-19 14:26:01 -07:00
devtools Rename "next" prerelease channel to "canary" (#26761) 2023-05-03 12:10:32 -04:00
dom Use .slice() for all substring-ing (#26677) 2023-04-19 14:26:01 -07:00
eslint Rename yarn build-combined to just yarn build (#26192) 2023-02-17 16:00:18 -05:00
expiration Rename `yarn start` to `yarn dev` and `yarn start:prod` to `yarn start` (#26209) 2023-02-21 14:18:21 -05:00
fiber-debugger Rename `yarn start` to `yarn dev` and `yarn start:prod` to `yarn start` (#26209) 2023-02-21 14:18:21 -05:00
fiber-triangle Rename yarn build-combined to just yarn build (#26192) 2023-02-17 16:00:18 -05:00
fizz Copy from build to node_modules instead of linking to builds (#26210) 2023-02-21 14:48:37 -05:00
fizz-ssr-browser Rename yarn build-combined to just yarn build (#26192) 2023-02-17 16:00:18 -05:00
flight [Flight] Progressively Enhanced Server Actions (#26774) 2023-05-03 18:36:57 -04:00
flight-browser Rename yarn build-combined to just yarn build (#26192) 2023-02-17 16:00:18 -05:00
legacy-jsx-runtimes Update to Jest 29 (#26088) 2023-02-09 17:07:49 +01:00
nesting Rename `yarn start` to `yarn dev` and `yarn start:prod` to `yarn start` (#26209) 2023-02-21 14:18:21 -05:00
packaging Rename yarn build-combined to just yarn build (#26192) 2023-02-17 16:00:18 -05:00
scheduler Rename yarn build-combined to just yarn build (#26192) 2023-02-17 16:00:18 -05:00
ssr Copy from build to node_modules instead of linking to builds (#26210) 2023-02-21 14:48:37 -05:00
ssr2 Copy from build to node_modules instead of linking to builds (#26210) 2023-02-21 14:48:37 -05:00
stacks Rename yarn build-combined to just yarn build (#26192) 2023-02-17 16:00:18 -05:00