Anyone using React Compiler?
Will React Forget Compiler will support React Native from day one?
no one can say for sure but i would guess so since I am assuming it works against the react package not react-dom or react-native specifically. As far as I understand it is supposed to optimize memoization in components which would apply to things like useCallback, useMemo, etc
More on reddit.comReact compiler
React Compiler will apply to all React apps including both those that use react-dom and react-native. It will automatically insert memoization where possible for modest performance improvements that are already possible to achieve today with e.g. useMemo. So in that sense it will make React better but it’s not magically going to make an unsuccessful app a successful one for instance.
More on reddit.comIntroducing React Compiler – React
Videos
Hey people of Reddit👋
I’ve been reading up on the new React Compiler and how it automatically handles things like memoization, preventing unnecessary re-renders, etc. Seems like a dream on first glance. I know it is still experimental, but is anyone using it?
I’m wondering — for those of you who’ve tried it, how does it compare to manually adding useMemo, useCallback, and other optimizations yourself?
Is it reliable? Does it actually save time and improve performance? Or do you still find yourself reaching for useMemo and useCallback in more complex cases?