alvarlagerlof / rsc-parser

A parser for the React Server components when sent over the network
https://rsc-parser.vercel.app
MIT License
499 stars 11 forks source link

Make `RequestDetailTabRawPayload` show actual raw data #1060

Closed alvarlagerlof closed 1 month ago

alvarlagerlof commented 1 month ago

The RequestDetailTabRawPayload is currently rendering FlightResponseChunkRaw, which is in turn rendering originalValue from chunks. While this data does show some parts of the original response text, it has already gone through one level of parsing, so the row references at the beginning ot the lines are gone.

By directly using event data made accessible via https://github.com/alvarlagerlof/rsc-parser/pull/1058, we can show the real original text instead.

Before

image

After

image