Skip to main content
AI Assist is now on Stack Overflow. Start a chat to get instant answers from across the network. Sign up to save and share your chats.
-1 votes
0 answers
43 views

I'm facing an issue with the React Compiler auto-memo. React DevTools shows that Test2 is memoized (sparkle icon), but console.log still runs on every render. import { useState } from "react"...
K i's user avatar
  • 615
0 votes
0 answers
96 views

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 ...
Jkaram's user avatar
  • 981
2 votes
1 answer
191 views

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 ...
Gnaneshwar P's user avatar
1 vote
1 answer
343 views

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 ...
Daniel's user avatar
  • 41