Luna Ruan
7bee1379b7
Filter out deleted components that are added to the updaters list ( #23156 )
...
There was a bug that occurred when a destroy effect is called that causes an update. The update would be added to the updaters list even though the fiber that was calling the destroy effect was unmounted and no longer exists. This PR:
* Adds a patch to Devtools to filter out all in the update list that aren't in the fiberToIDMap (which contains all fibers currently on screen)
2022-01-20 13:29:43 -08:00
Brian Vaughn
a44a7a2a3f
Filter empty commits (all Fibers bailed out) from Profiler ( #22745 )
2021-11-11 10:35:16 -05:00
Byron Luk
da627ded86
Devtools/function context change ( #22047 )
2021-08-10 14:16:54 -04:00
Shubham Pandey
6f3fcbd6fa
Some remaining instances of master to main ( #21982 )
...
Co-authored-by: Shubham Pandey <shubham.pandey@mfine.co>
2021-07-30 08:56:55 -04:00
Brian Vaughn
d483463bc8
Updated scripts and config to replace "master" with "main" branch ( #21768 )
2021-06-29 14:26:24 -04:00
Brian Vaughn
73ffce1b6f
DevTools: Update tests to fix warnings/errors ( #21748 )
...
Some new ones had slipped in (e.g. deprecated ReactDOM.render message from 18)
2021-06-24 22:42:44 -04:00
Brian Vaughn
fc33f12bde
Remove unstable scheduler/tracing API ( #20037 )
2021-04-26 19:16:18 -04:00
Sebastian Silbermann
1214b302e1
test: Fix "couldn't locate all inline snapshots" ( #21205 )
2021-04-08 11:18:13 -04:00
Brian Vaughn
a89854bc93
Fix Suspense-wrapping heuristic (and bump version numbers) ( #19373 )
...
* Fixed suspense wrapping heuristic
* Bump package numbers 16.13.1 -> 17.0.0-alpha.0 to fix DevTools Suspense heuristic
2020-07-15 12:25:27 -04:00
Brian Vaughn
fbc6386369
Fix DevTools handling of empty Suspense tag for legacy renderer versions ( #19337 )
2020-07-13 16:21:56 -04:00
Sebastian Markbåge
3e94bce765
Enable prefer-const lint rules ( #18451 )
...
* Enable prefer-const rule
Stylistically I don't like this but Closure Compiler takes advantage of
this information.
* Auto-fix lints
* Manually fix the remaining callsites
2020-04-01 12:35:52 -07:00
Brian Vaughn
435259f189
Add better test coverage for hooks in DevTools Profiler's change-detection ( #17816 )
2020-01-09 13:15:19 -08:00
Brian Vaughn
8e1434e80e
Added FB copyright header
2019-08-27 10:54:01 -07:00
Brian Vaughn
ac2e861fbe
Fixed a bunch of Lint issues
2019-08-13 21:59:07 -07:00
Brian Vaughn
183f96f2ac
Prettier
2019-08-13 17:58:03 -07:00
Brian Vaughn
08743b1a8e
Reorganized folders into packages/*
2019-08-13 15:59:43 -07:00
Brian Vaughn
ec7ef50e8b
Reorganized things again into packages
2019-08-13 11:37:25 -07:00