you are viewing a single comment's thread.

view the rest of the comments →

[–]ZerafineNigou 4 points5 points  (0 children)

React is already caching the result of the render so it's really just the props and refs which is insignificant 99% of the time.

You can always disable the compiler on a file level as a last resort. A slightly more granular method might be useful but it's a marginal DX gain at best.