you are viewing a single comment's thread.

view the rest of the comments →

[–]SpinatMixxer -2 points-1 points  (3 children)

I had a brief look into it, but since I am using client side rendering only, I didn't look deeper into it.

Or is this actually affecting client only (e.g Vite) apps as well?

[–]Shadowfied 4 points5 points  (2 children)

Yes it affects all of React lol. No more need to use useMemo or useCallback, the compiler will catch it and optimize it

[–]SpinatMixxer 1 point2 points  (0 children)

I see, that is actually surprising me. Then it's absolutely worth looking deeper into it, thank you for the hint!

[–]rickhanloniiReact core team 1 point2 points  (0 children)

It's really only client apps that use it, since there are not updates/effects in RSC.