react/packages
Sebastian Markbåge 2acfb7b609
[Flight] Support FormData from Server to Client (#28754)
We currently support FormData for Replies mainly for Form Actions. This
supports it in the other direction too which lets you return it from an
action as the response. Mainly for parity.

We don't really recommend that you just pass the original form data back
because the action is supposed to be able to clear fields and such but
you could potentially at least use this as the format and could clear
some fields.

We could potentially optimize this with a temporary reference if the
same object was passed to a reply in case you use it as a round trip to
avoid serializing it back again. That way the action has the ability to
override it to clear fields but if it doesn't you get back the same as
you sent.

#28755 adds support for Blobs when the `enableBinaryFlight` is enabled
which allows them to be used inside FormData too.
2024-04-05 14:32:18 -04:00
..
dom-event-testing-library Avoid meta programming to initialize functions in module scope (#26388) 2023-03-14 21:00:22 -04:00
eslint-plugin-react-hooks [ESLint] Update README links to react.dev (#28692) 2024-04-01 10:52:34 -04:00
internal-test-utils Move console mocks to internal-test-utils (#28710) 2024-04-03 16:02:04 -04:00
jest-react Remove _owner field from JSX elements in prod if string refs are disabled (#28739) 2024-04-04 11:20:15 -04:00
react Fast JSX: Don't clone props object (#28768) 2024-04-05 13:25:24 -04:00
react-art Make ART Concurrent if Legacy Mode is disabled (#28662) 2024-04-02 15:00:30 -04:00
react-cache Remove invokeGuardedCallback and replay trick (#28515) 2024-03-11 20:17:07 -04:00
react-client [Flight] Support FormData from Server to Client (#28754) 2024-04-05 14:32:18 -04:00
react-debug-tools Remove defaultProps support (except for classes) (#28733) 2024-04-04 10:59:19 -04:00
react-devtools React DevTools 5.0.1 -> 5.0.2 (#28496) 2024-03-05 14:11:30 +00:00
react-devtools-core React DevTools 5.0.1 -> 5.0.2 (#28496) 2024-03-05 14:11:30 +00:00
react-devtools-extensions Use declare const instead of declare var (#28599) 2024-03-22 11:20:18 -04:00
react-devtools-inline fix[devtools/e2e]: fixed source inspection in e2e tests (#28518) 2024-03-07 17:59:37 +00:00
react-devtools-shared Track Owner for Server Components in DEV (#28753) 2024-04-05 12:48:52 -04:00
react-devtools-shell Move ReactDOMLegacy implementation into RootFB (#28656) 2024-04-02 21:56:23 -04:00
react-devtools-timeline React DevTools 5.0.1 -> 5.0.2 (#28496) 2024-03-05 14:11:30 +00:00
react-dom Move string ref coercion to JSX runtime (#28473) 2024-04-05 10:53:11 -04:00
react-dom-bindings Cleanup enableBigIntSupport flag (#28711) 2024-04-03 09:25:02 -04:00
react-interactions Remove loose-envify dep and browserify configs (#28480) 2024-03-01 20:49:51 +00:00
react-is Remove React.createFactory (#27798) 2024-03-29 16:29:48 -04:00
react-native-renderer Track Owner for Server Components in DEV (#28753) 2024-04-05 12:48:52 -04:00
react-noop-renderer Remove _owner field from JSX elements in prod if string refs are disabled (#28739) 2024-04-04 11:20:15 -04:00
react-reconciler Make class prop resolution faster (#28766) 2024-04-05 13:06:39 -04:00
react-refresh Remove module pattern function component support (flag only) (#28671) 2024-03-29 11:16:17 -04:00
react-server [Flight] Support FormData from Server to Client (#28754) 2024-04-05 14:32:18 -04:00
react-server-dom-esm Bump canary versions to v19-canary (#28646) 2024-03-26 15:31:57 -04:00
react-server-dom-fb Upgrade flow to 0.230.0 (#28528) 2024-03-08 17:39:27 -05:00
react-server-dom-turbopack Mock modules in tests using Module (#28678) 2024-03-29 13:19:54 -07:00
react-server-dom-webpack [Flight] Support Blobs from Server to Client (#28755) 2024-04-05 12:49:25 -04:00
react-suspense-test-utils [be] Remove unused, experimental getCacheSignal API (#28706) 2024-04-02 10:54:31 -07:00
react-test-renderer Update RTR readme (#28705) 2024-04-02 11:41:31 -04:00
scheduler Use declare const instead of declare var (#28599) 2024-03-22 11:20:18 -04:00
shared Track Owner for Server Components in DEV (#28753) 2024-04-05 12:48:52 -04:00
use-subscription Bump canary versions to v19-canary (#28646) 2024-03-26 15:31:57 -04:00
use-sync-external-store Cleanup enableUseRefAccessWarning flag (#28699) 2024-04-03 13:35:38 -04:00