Files
flipper/desktop
Michel Weststrate b474ef24e0 expand components slowly
Summary:
This diff introduces the concept of `shouldExpand` in DataInspector. Rather than expanding components right away, we only expand if the CPU is idly, this makes sure our app remains interactive, rather than stalling for 15 seconds as shown in the example query.

In the future we could solve the blocking by using react suspense as well, but this solution has the nice benefit that it allows inspecting and interacting with the data right away.

Changelog: The JSON inspector in plugins like GraphQL no longer freezes Flipper temporarily when expanding large data sets and will remain interactive during

Reviewed By: jknoxville

Differential Revision: D21302821

fbshipit-source-id: 6a53858f9062175596dc695c4af172d60422abe7
2020-04-30 06:32:34 -07:00
..
2020-04-14 07:20:40 -07:00
2020-04-30 06:32:34 -07:00
2020-04-29 08:33:04 -07:00
2020-04-29 08:33:04 -07:00
2020-03-20 13:37:41 -07:00
2020-04-29 08:33:04 -07:00
2020-04-29 08:33:04 -07:00
2020-04-30 03:19:22 -07:00
2020-04-29 08:33:04 -07:00
2020-04-28 15:54:22 -07:00
2020-04-24 06:59:38 -07:00
2020-04-29 08:33:04 -07:00
2020-04-01 02:52:01 -07:00
2020-04-01 02:52:01 -07:00