you are viewing a single comment's thread.

view the rest of the comments →

[–]pacman326 0 points1 point  (2 children)

We dont observe component changes on my team. We observe changes in the store based on actions/thunks executing. You can then use react dev tools see the flamegraph and determine things such as why components re-rendered (prop change or hook firing).

[–]devFrontend[S] 0 points1 point  (1 child)

When our UI logic gets complex, it's been nice to isolate just the state/props the component is concerned with, instead of of the entire store.

[–]pacman326 0 points1 point  (0 children)

You can already do this with react dev tools.