GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||
GeezerVison is showing github.com — feat[react-devtools]: display forget badge for components in profiling session by hoxyq · Pull Request #29014 · react/react Conversation
|
|
What do you think about displaying the icon (not the full badge) at the start of the component name here? Especially in dense flamegraphs this would help identify at a glance when auto-memoized components re-render. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
Sorry, something went wrong.
There was an error while loading. Please reload this page.
7df5f49 to
93d23a2
Compare
Awesome idea, updated the PR accordingly |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
93d23a2 to
b7622e9
Compare
b7622e9 to
492c5b7
Compare
Full list of changes (not a public changelog): * fix[react-devtools/ci]: fix configurations for e2e testing ([hoxyq](https://github.com/hoxyq) in [#29016](#29016)) * feat[react-devtools]: display forget badge for components in profiling session ([hoxyq](https://github.com/hoxyq) in [#29014](#29014)) * fix[react-devtools]: add backwards compat with legacy element type symbol ([hoxyq](https://github.com/hoxyq) in [#28982](#28982)) * Expose "view source" options to Fusebox integration ([motiz88](https://github.com/motiz88) in [#28973](#28973)) * Enable inspected element context menu in Fusebox ([motiz88](https://github.com/motiz88) in [#28972](#28972)) * Check in `frontend.d.ts` for react-devtools-fusebox, include in build output ([motiz88](https://github.com/motiz88) in [#28970](#28970)) * Devtools: Fix build-for-devtools ([eps1lon](https://github.com/eps1lon) in [#28976](#28976)) * Move useMemoCache hook to react/compiler-runtime ([kassens](https://github.com/kassens) in [#28954](#28954)) * warn -> error for Test Renderer deprecation ([acdlite](https://github.com/acdlite) in [#28904](#28904)) * [react-dom] move all client code to `react-dom/client` ([gnoff](https://github.com/gnoff) in [#28271](#28271)) * Rename the react.element symbol to react.transitional.element ([sebmarkbage](https://github.com/sebmarkbage) in [#28813](#28813)) * Rename Forget badge ([jbonta](https://github.com/jbonta) in [#28858](#28858)) * Devtools: Add support for useFormStatus ([eps1lon](https://github.com/eps1lon) in [#28413](#28413))
Completes #65845 which only updated Canary not Experimental. <details> <summary> React upstream changes</summary> - react/react#29026 - react/react#29025 - react/react#28743 - react/react#29022 - react/react#29023 - react/react#29015 - react/react#29016 - react/react#28988 - react/react#28987 - react/react#28986 - react/react#29014 - react/react#28982 - react/react#29006 - react/react#28973 - react/react#28841 - react/react#28964 - react/react#28990 - react/react#29003 - react/react#28989 - react/react#28893 - react/react#28887 - react/react#28807 - react/react#28978 - react/react#28963 - react/react#28972 - react/react#28970 - react/react#28816 - react/react#28977 - react/react#28974 - react/react#28976 - react/react#28975 - react/react#28969 - react/react#28966 - react/react#28056 </details>
…g session (react#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">
… for empty badge list (react#29023) Forward fix to react#29014, the bug was discovered while testing v5.2.0.
Full list of changes (not a public changelog): * fix[react-devtools/ci]: fix configurations for e2e testing ([hoxyq](https://github.com/hoxyq) in [react#29016](react#29016)) * feat[react-devtools]: display forget badge for components in profiling session ([hoxyq](https://github.com/hoxyq) in [react#29014](react#29014)) * fix[react-devtools]: add backwards compat with legacy element type symbol ([hoxyq](https://github.com/hoxyq) in [react#28982](react#28982)) * Expose "view source" options to Fusebox integration ([motiz88](https://github.com/motiz88) in [react#28973](react#28973)) * Enable inspected element context menu in Fusebox ([motiz88](https://github.com/motiz88) in [react#28972](react#28972)) * Check in `frontend.d.ts` for react-devtools-fusebox, include in build output ([motiz88](https://github.com/motiz88) in [react#28970](react#28970)) * Devtools: Fix build-for-devtools ([eps1lon](https://github.com/eps1lon) in [react#28976](react#28976)) * Move useMemoCache hook to react/compiler-runtime ([kassens](https://github.com/kassens) in [react#28954](react#28954)) * warn -> error for Test Renderer deprecation ([acdlite](https://github.com/acdlite) in [react#28904](react#28904)) * [react-dom] move all client code to `react-dom/client` ([gnoff](https://github.com/gnoff) in [react#28271](react#28271)) * Rename the react.element symbol to react.transitional.element ([sebmarkbage](https://github.com/sebmarkbage) in [react#28813](react#28813)) * Rename Forget badge ([jbonta](https://github.com/jbonta) in [react#28858](react#28858)) * Devtools: Add support for useFormStatus ([eps1lon](https://github.com/eps1lon) in [react#28413](react#28413))
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.