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
The compiler will not auto-memo objects created inline in the component, but strong mode also bans using useMemo. This creates very strange helper functions that do nothing except return an object to trigger strong mode memoization.
Octane should either allow useMemo() in strong mode and automatically infer the dependencies, or it should auto-memo the inline objects.
Even if we make the compiler auto memo objects I would also prefer it allow useMemo() in strong mode since that gives authors an explicit way to fix this bug without adding these no-op functions.
Activity