You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Codemod misses React useCallback in unchanged local hooks #2606
In a project using the automatic React JSX runtime, migrate only Label.tsx with Strong mode, project types and compiler verification enabled. Leave the local TypeScript helper in place.
The codemod reports the selected component as Strong with no findings. React SSR renders it. The emitted native Octane component still calls the unchanged hook, and production Octane SSR throws when the React package attempts to read useCallback from its dispatcher.
Expected behavior
Report the retained React hook at a proven native setup call, using the same ownership proof as the existing retained-hook diagnostics. Keep the helper unchanged. A local alias of the named React import still calls the React dispatcher.
Activity