dillon1000/react
Commit
Browse files DevTools: Lazily parse indexed map sections (#22415)
Indexed maps divide nested source maps into sections, annotated with a line and column offset. Since these sections are JSON and can be quickly parsed, we can easily separate them without doing the heavier base64 and VLQ decoding process. This PR updates our sourcemap parsing code to defer parsing of an indexed map section until we actually need to retrieve mappings from it.
Changed paths1 file
First-parent comparisonpackages/react-devtools-shared/src/hooks/SourceMapConsumer.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…