DevTools: Named hooks supports "cheap-module-source-map" (#21874)
"cheap-module-source-map" is the default source-map generation mode used in created-react-dev mode because of speed. The major trade-off is that the source maps generated don't contain column numbers, so DevTools needs to be more lenient when matching AST nodes in this mode. In this case, it can ignore column numbers and match nodes using line numbers only– so long as only a single node matches. If more than one match is found, treat it the same as if none were found, and fall back to no name.
B
Brian Vaughn committed
87b3ada89dc83c88a89ff1b599b0f39e3c49cc32
Parent: a97b5ac
Committed by GitHub <noreply@github.com>
on 7/14/2021, 6:37:27 PM