mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-01 17:57:36 +08:00
Only call escodegen.generate() on the nodes that are necessary, or it would impact the performance of presubmit Bug: 1116989 Change-Id: Ic80c7498aee14b7a4bf6462c26c982b7d6170f39 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2405627 Commit-Queue: Christy Chen <chrche@microsoft.com> Reviewed-by: Simon Zünd <szuend@chromium.org> Reviewed-by: Peter Marshall <petermarshall@chromium.org>