Ruslan Lesiutin
e7d213dfb0
feat[react-devtools]: display forget badge for components in profiling session ( #29014 )
...
# Summary
- `compiledWithForget` field for nodes is now propagated from the
backend to frontend profiler stores
- Corresponding node with such field will have a `✨ ` prefix displayed
before its displayName
<img width="1728" alt="Screenshot 2024-05-07 at 15 05 37"
src="https://github.com/facebook/react/assets/28902667/fe044d40-52cb-4169-867d-5a2d72e3275b ">
- Badges are now displayed on the right panel when some fiber is
selected in a specific commit
<img width="1728" alt="Screenshot 2024-05-07 at 15 05 50"
src="https://github.com/facebook/react/assets/28902667/297ba5ca-404d-4172-b9bf-bfed7978afe5 ">
- Badges are also displayed when user hovers over some node in the tree
<img width="1728" alt="Screenshot 2024-05-07 at 15 25 22"
src="https://github.com/facebook/react/assets/28902667/bee47884-61d1-46b6-a483-717fc148893a ">
2024-05-07 16:39:01 +01:00
Jan Kassens
6ddcbd4f96
[flow] enable LTI inference mode ( #26104 )
...
This is the next generation inference mode for Flow.
2023-02-09 17:07:39 -05:00
Jan Kassens
6b30832666
Upgrade prettier ( #26081 )
...
The old version of prettier we were using didn't support the Flow syntax
to access properties in a type using `SomeType['prop']`. This updates
`prettier` and `rollup-plugin-prettier` to the latest versions.
I added the prettier config `arrowParens: "avoid"` to reduce the diff
size as the default has changed in Prettier 2.0. The largest amount of
changes comes from function expressions now having a space. This doesn't
have an option to preserve the old behavior, so we have to update this.
2023-01-31 08:25:05 -05:00
Andrew Clark
9cdf8a99ed
[Codemod] Update copyright header to Meta ( #25315 )
...
* Facebook -> Meta in copyright
rg --files | xargs sed -i 's#Copyright (c) Facebook, Inc. and its affiliates.#Copyright (c) Meta Platforms, Inc. and affiliates.#g'
* Manual tweaks
2022-10-18 11:19:24 -04:00
Jan Kassens
8003ab9cf5
Flow: remove explicit object syntax ( #25223 )
2022-09-09 16:03:48 -04:00
Nick Reiley and Brian Vaughn
17efbf7d63
[DevTools] Show HOC names in profiler ( #19283 )
...
* show hoc names in profiler
* Added hocDisplayNames.length check
Co-authored-by: Brian Vaughn <brian.david.vaughn@gmail.com >
2020-07-10 11:21:19 -04: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