dillon1000/react

Commit

[Flight Parcel] Implement findSourceMapURL (#32294)

This implements `findSourceMapURL` in react-server-dom-parcel, enabling
source maps for replayed server errors on the client. It utilizes a new
endpoint in the Parcel dev server that returns the source map for a
given bundle/file. The error overlay UI has also been updated to handle
these stacks. See https://github.com/parcel-bundler/parcel/pull/10082

Also updated the fixture to the latest Parcel canary. A few APIs have
changed. We do have a higher level library wrapper now (`@parcel/rsc`
added in https://github.com/parcel-bundler/parcel/pull/10074) but I left
the fixture using the lower level APIs directly here since it is easier
to see how react-server-dom-parcel is used.
Browse files
Changed paths9 files
First-parent comparison
D fixtures/flight-parcel/.parcelrc DeletedM fixtures/flight-parcel/package.json ModifiedM fixtures/flight-parcel/src/Todos.tsx ModifiedM fixtures/flight-parcel/src/server.tsx ModifiedM fixtures/flight-parcel/yarn.lock ModifiedM packages/react-server-dom-parcel/src/client/ReactFlightDOMClientBrowser.js ModifiedM packages/react-server-dom-parcel/src/client/ReactFlightDOMClientEdge.js ModifiedM packages/react-server-dom-parcel/src/client/ReactFlightDOMClientNode.js ModifiedM scripts/flow/environment.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…