mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-03 02:21:05 +08:00
The `new NodeText` pattern causes inefficient re-renders, which we discovered on the breadcrumbs component. Whilst fixing that bug I noticed that the LayoutPane tests don't run in isolation due to having no ThemeSupport instance. I've updated the test setup to create one at the start of all the tests. Bug: 1129881 Change-Id: I30a48f50e93738a74bd0f17258d3b9c07d47ed6e Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2431510 Commit-Queue: Jack Franklin <jacktfranklin@chromium.org> Reviewed-by: Alex Rudenko <alexrudenko@chromium.org>