3 questions
0
votes
0
answers
89
views
React Compiler says it is working but is not optimizing in real world example
I am adding React Compiler into our project. The compiler is shown in the devTools as working (the little stars emoji). But when I run a scenario with a component that could be optimized with useMemo ...
2
votes
1
answer
170
views
How to prevent React Compiler automatic memoization for intentionally volatile computations without using "use no memo"?
I am using React Compiler v1.0 in a React 19 application. I have specific components where I intentionally want fresh calculations on every render for correctness reasons but the React Compiler is ...
1
vote
1
answer
329
views
React 19 compiler and inline functions in jsx
I am currently upgrading my codebase to react 19 and using the compiler. Traditionally in react inline arrow functions in the jsx were considered bad practice for performance reasons, however I am ...