Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Canvas crashes after rendering first frame. is.equ received boolean parameters #3277

Closed
AVAVT opened this issue Jun 4, 2024 · 1 comment
Closed
Labels
bug Something isn't working

Comments

@AVAVT
Copy link
Contributor

AVAVT commented Jun 4, 2024

Hi there, I have an issue where the scene works completely fine stand-alone, but when placed into our project the Canvas always render the first frame then crash.

I have traced the issue to fiber/src/core/utils.ts:152, in is.equ compare function, where the values it received were both true. (e.g. basically is.equ(true, true) was called)

Modifying the first comparison to handle boolean did solve the error and scene seems to function as before:

if (is.str(a) || is.num(a) || is.boo(a)) return a === b

But I'm not sure if that's a proper fix. Is the lack of boolean support intended? (e.g. this function should not receive boolean params and the root issue lies somewhere in our project?)

The full stacktrace is provided below. Please advise, thank you very much and have a nice day! 🙏🏼

Unhandled Runtime Error

TypeError: right-hand side of 'in' should be an object, got boolean
Source

fiber\src\core\utils.ts (152:28) @ b

  150 | let i
  151 | // Check if a has all the keys of b
> 152 | for (i in a) if (!(i in b)) return false
      |                        ^
  153 | // Check if values between keys match
  154 | if (isObj && arrays === 'shallow' && objects === 'shallow') {
  155 |   for (i in strict ? b : a) if (!is.equ(a[i], b[i], { strict, objects: 'reference' })) return false

Call Stack
equ
fiber\src\core\utils.ts (155:40)
equ
fiber\src\core\index.tsx (361:14)
configure
fiber\src\web\Canvas.tsx (84:19)
commitHookEffectListMount
..\..\node_modules\.pnpm\[email protected]_@[email protected]_@[email protected][email protected][email protected]\node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (20998:0)
commitHookLayoutEffects
..\..\node_modules\.pnpm\[email protected]_@[email protected]_@[email protected][email protected][email protected]\node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (21108:0)
commitLayoutEffectOnFiber
..\..\node_modules\.pnpm\[email protected]_@[email protected]_@[email protected][email protected][email protected]\node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (21306:0)
recursivelyTraverseLayoutEffects
..\..\node_modules\.pnpm\[email protected]_@[email protected]_@[email protected][email protected][email protected]\node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (22823:0)
commitLayoutEffectOnFiber
..\..\node_modules\.pnpm\[email protected]_@[email protected]_@[email protected][email protected][email protected]\node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (21473:0)
recursivelyTraverseLayoutEffects
..\..\node_modules\.pnpm\[email protected]_@[email protected]_@[email protected][email protected][email protected]\node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (22823:0)
commitLayoutEffectOnFiber
..\..\node_modules\.pnpm\[email protected]_@[email protected]_@[email protected][email protected][email protected]\node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (21314:0)
recursivelyTraverseLayoutEffects
..\..\node_modules\.pnpm\[email protected]_@[email protected]_@[email protected][email protected][email protected]\node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (22823:0)
commitLayoutEffectOnFiber
..\..\node_modules\.pnpm\[email protected]_@[email protected]_@[email protected][email protected][email protected]\node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (21303:0)
recursivelyTraverseLayoutEffects
..\..\node_modules\.pnpm\[email protected]_@[email protected]_@[email protected][email protected][email protected]\node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (22823:0)
commitLayoutEffectOnFiber
..\..\node_modules\.pnpm\[email protected]_@[email protected]_@[email protected][email protected][email protected]\node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (21448:0)
recursivelyTraverseLayoutEffects
..\..\node_modules\.pnpm\[email protected]_@[email protected]_@[email protected][email protected][email protected]\node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (22823:0)
commitLayoutEffectOnFiber
..\..\node_modules\.pnpm\[email protected]_@[email protected]_@[email protected][email protected][email protected]\node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (21414:0)
recursivelyTraverseLayoutEffects
..\..\node_modules\.pnpm\[email protected]_@[email protected]_@[email protected][email protected][email protected]\node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (22823:0)
commitLayoutEffectOnFiber
..\..\node_modules\.pnpm\[email protected]_@[email protected]_@[email protected][email protected][email protected]\node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (21303:0)
recursivelyTraverseLayoutEffects
..\..\node_modules\.pnpm\[email protected]_@[email protected]_@[email protected][email protected][email protected]\node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (22823:0)
commitLayoutEffectOnFiber
..\..\node_modules\.pnpm\[email protected]_@[email protected]_@[email protected][email protected][email protected]\node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (21384:0)
recursivelyTraverseLayoutEffects
..\..\node_modules\.pnpm\[email protected]_@[email protected]_@[email protected][email protected][email protected]\node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (22823:0)
commitLayoutEffectOnFiber
..\..\node_modules\.pnpm\[email protected]_@[email protected]_@[email protected][email protected][email protected]\node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (21384:0)
recursivelyTraverseLayoutEffects
..\..\node_modules\.pnpm\[email protected]_@[email protected]_@[email protected][email protected][email protected]\node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (22823:0)
commitLayoutEffectOnFiber
..\..\node_modules\.pnpm\[email protected]_@[email protected]_@[email protected][email protected][email protected]\node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (21303:0)
recursivelyTraverseLayoutEffects
..\..\node_modules\.pnpm\[email protected]_@[email protected]_@[email protected][email protected][email protected]\node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (22823:0)
commitLayoutEffectOnFiber
..\..\node_modules\.pnpm\[email protected]_@[email protected]_@[email protected][email protected][email protected]\node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (21303:0)
recursivelyTraverseLayoutEffects
..\..\node_modules\.pnpm\[email protected]_@[email protected]_@[email protected][email protected][email protected]\node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (22823:0)
commitLayoutEffectOnFiber
..\..\node_modules\.pnpm\[email protected]_@[email protected]_@[email protected][email protected][email protected]\node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (21303:0)
recursivelyTraverseLayoutEffects
..\..\node_modules\.pnpm\[email protected]_@[email protected]_@[email protected][email protected][email protected]\node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (22823:0)
commitLayoutEffectOnFiber
..\..\node_modules\.pnpm\[email protected]_@[email protected]_@[email protected][email protected][email protected]\node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (21384:0)
recursivelyTraverseLayoutEffects
..\..\node_modules\.pnpm\[email protected]_@[email protected]_@[email protected][email protected][email protected]\node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (22823:0)
commitLayoutEffectOnFiber
..\..\node_modules\.pnpm\[email protected]_@[email protected]_@[email protected][email protected][email protected]\node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (21303:0)
recursivelyTraverseLayoutEffects
..\..\node_modules\.pnpm\[email protected]_@[email protected]_@[email protected][email protected][email protected]\node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (22823:0)
commitLayoutEffectOnFiber
..\..\node_modules\.pnpm\[email protected]_@[email protected]_@[email protected][email protected][email protected]\node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (21303:0)
recursivelyTraverseLayoutEffects
..\..\node_modules\.pnpm\[email protected]_@[email protected]_@[email protected][email protected][email protected]\node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (22823:0)
commitLayoutEffectOnFiber
..\..\node_modules\.pnpm\[email protected]_@[email protected]_@[email protected][email protected][email protected]\node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (21473:0)
recursivelyTraverseLayoutEffects
..\..\node_modules\.pnpm\[email protected]_@[email protected]_@[email protected][email protected][email protected]\node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (22823:0)
commitLayoutEffectOnFiber
..\..\node_modules\.pnpm\[email protected]_@[email protected]_@[email protected][email protected][email protected]\node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (21473:0)
recursivelyTraverseLayoutEffects
..\..\node_modules\.pnpm\[email protected]_@[email protected]_@[email protected][email protected][email protected]\node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (22823:0)
commitLayoutEffectOnFiber
..\..\node_modules\.pnpm\[email protected]_@[email protected]_@[email protected][email protected][email protected]\node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (21473:0)
recursivelyTraverseLayoutEffects
..\..\node_modules\.pnpm\[email protected]_@[email protected]_@[email protected][email protected][email protected]\node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (22823:0)
commitLayoutEffectOnFiber
..\..\node_modules\.pnpm\[email protected]_@[email protected]_@[email protected][email protected][email protected]\node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (21303:0)
recursivelyTraverseLayoutEffects
..\..\node_modules\.pnpm\[email protected]_@[email protected]_@[email protected][email protected][email protected]\node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (22823:0)
commitLayoutEffectOnFiber
..\..\node_modules\.pnpm\[email protected]_@[email protected]_@[email protected][email protected][email protected]\node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (21473:0)
recursivelyTraverseLayoutEffects
..\..\node_modules\.pnpm\[email protected]_@[email protected]_@[email protected][email protected][email protected]\node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (22823:0)
commitLayoutEffectOnFiber
..\..\node_modules\.pnpm\[email protected]_@[email protected]_@[email protected][email protected][email protected]\node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (21303:0)
recursivelyTraverseLayoutEffects
..\..\node_modules\.pnpm\[email protected]_@[email protected]_@[email protected][email protected][email protected]\node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (22823:0)
commitLayoutEffectOnFiber
..\..\node_modules\.pnpm\[email protected]_@[email protected]_@[email protected][email protected][email protected]\node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (21473:0)
recursivelyTraverseLayoutEffects
..\..\node_modules\.pnpm\[email protected]_@[email protected]_@[email protected][email protected][email protected]\node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (22823:0)
commitLayoutEffectOnFiber
..\..\node_modules\.pnpm\[email protected]_@[email protected]_@[email protected][email protected][email protected]\node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (21303:0)
recursivelyTraverseLayoutEffects
..\..\node_modules\.pnpm\[email protected]_@[email protected]_@[email protected][email protected][email protected]\node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (22823:0)
commitLayoutEffectOnFiber
..\..\node_modules\.pnpm\[email protected]_@[email protected]_@[email protected][email protected][email protected]\node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (21303:0)
recursivelyTraverseLayoutEffects
..\..\node_modules\.pnpm\[email protected]_@[email protected]_@[email protected][email protected][email protected]\node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (22823:0)
commitLayoutEffectOnFiber
..\..\node_modules\.pnpm\[email protected]_@[email protected]_@[email protected][email protected][email protected]\node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (21303:0)
recursivelyTraverseLayoutEffects
..\..\node_modules\.pnpm\[email protected]_@[email protected]_@[email protected][email protected][email protected]\node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (22823:0)
commitLayoutEffectOnFiber
..\..\node_modules\.pnpm\[email protected]_@[email protected]_@[email protected][email protected][email protected]\node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (21303:0)
recursivelyTraverseLayoutEffects
..\..\node_modules\.pnpm\[email protected]_@[email protected]_@[email protected][email protected][email protected]\node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (22823:0)
commitLayoutEffectOnFiber
..\..\node_modules\.pnpm\[email protected]_@[email protected]_@[email protected][email protected][email protected]\node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (21473:0)
recursivelyTraverseLayoutEffects
..\..\node_modules\.pnpm\[email protected]_@[email protected]_@[email protected][email protected][email protected]\node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (22823:0)
commitLayoutEffectOnFiber
..\..\node_modules\.pnpm\[email protected]_@[email protected]_@[email protected][email protected][email protected]\node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (21303:0)
recursivelyTraverseLayoutEffects
..\..\node_modules\.pnpm\[email protected]_@[email protected]_@[email protected][email protected][email protected]\node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (22823:0)
commitLayoutEffectOnFiber
..\..\node_modules\.pnpm\[email protected]_@[email protected]_@[email protected][email protected][email protected]\node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (21473:0)
recursivelyTraverseLayoutEffects
..\..\node_modules\.pnpm\[email protected]_@[email protected]_@[email protected][email protected][email protected]\node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (22823:0)
commitLayoutEffectOnFiber
..\..\node_modules\.pnpm\[email protected]_@[email protected]_@[email protected][email protected][email protected]\node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (21303:0)
recursivelyTraverseLayoutEffects
..\..\node_modules\.pnpm\[email protected]_@[email protected]_@[email protected][email protected][email protected]\node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (22823:0)
commitLayoutEffectOnFiber
..\..\node_modules\.pnpm\[email protected]_@[email protected]_@[email protected][email protected][email protected]\node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (21473:0)
recursivelyTraverseLayoutEffects
..\..\node_modules\.pnpm\[email protected]_@[email protected]_@[email protected][email protected][email protected]\node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (22823:0)
commitLayoutEffectOnFiber
..\..\node_modules\.pnpm\[email protected]_@[email protected]_@[email protected][email protected][email protected]\node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (21303:0)
recursivelyTraverseLayoutEffects
..\..\node_modules\.pnpm\[email protected]_@[email protected]_@[email protected][email protected][email protected]\node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (22823:0)
commitLayoutEffectOnFiber
..\..\node_modules\.pnpm\[email protected]_@[email protected]_@[email protected][email protected][email protected]\node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (21473:0)
recursivelyTraverseLayoutEffects
..\..\node_modules\.pnpm\[email protected]_@[email protected]_@[email protected][email protected][email protected]\node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (22823:0)
commitLayoutEffectOnFiber
..\..\node_modules\.pnpm\[email protected]_@[email protected]_@[email protected][email protected][email protected]\node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (21303:0)
recursivelyTraverseLayoutEffects
..\..\node_modules\.pnpm\[email protected]_@[email protected]_@[email protected][email protected][email protected]\node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (22823:0)
commitLayoutEffectOnFiber
..\..\node_modules\.pnpm\[email protected]_@[email protected]_@[email protected][email protected][email protected]\node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (21303:0)
recursivelyTraverseLayoutEffects
..\..\node_modules\.pnpm\[email protected]_@[email protected]_@[email protected][email protected][email protected]\node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (22823:0)
commitLayoutEffectOnFiber
..\..\node_modules\.pnpm\[email protected]_@[email protected]_@[email protected][email protected][email protected]\node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (21303:0)
recursivelyTraverseLayoutEffects
..\..\node_modules\.pnpm\[email protected]_@[email protected]_@[email protected][email protected][email protected]\node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (22823:0)
commitLayoutEffectOnFiber
..\..\node_modules\.pnpm\[email protected]_@[email protected]_@[email protected][email protected][email protected]\node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (21303:0)
recursivelyTraverseLayoutEffects
..\..\node_modules\.pnpm\[email protected]_@[email protected]_@[email protected][email protected][email protected]\node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (22823:0)
commitLayoutEffectOnFiber
..\..\node_modules\.pnpm\[email protected]_@[email protected]_@[email protected][email protected][email protected]\node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (21384:0)
recursivelyTraverseLayoutEffects
..\..\node_modules\.pnpm\[email protected]_@[email protected]_@[email protected][email protected][email protected]\node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (22823:0)
commitLayoutEffectOnFiber
..\..\node_modules\.pnpm\[email protected]_@[email protected]_@[email protected][email protected][email protected]\node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (21384:0)
recursivelyTraverseLayoutEffects
..\..\node_modules\.pnpm\[email protected]_@[email protected]_@[email protected][email protected][email protected]\node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (22823:0)
commitLayoutEffectOnFiber
..\..\node_modules\.pnpm\[email protected]_@[email protected]_@[email protected][email protected][email protected]\node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (21473:0)
recursivelyTraverseLayoutEffects
..\..\node_modules\.pnpm\[email protected]_@[email protected]_@[email protected][email protected][email protected]\node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (22823:0)
commitLayoutEffectOnFiber
..\..\node_modules\.pnpm\[email protected]_@[email protected]_@[email protected][email protected][email protected]\node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (21314:0)
recursivelyTraverseLayoutEffects
..\..\node_modules\.pnpm\[email protected]_@[email protected]_@[email protected][email protected][email protected]\node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (22823:0)
commitLayoutEffectOnFiber
..\..\node_modules\.pnpm\[email protected]_@[email protected]_@[email protected][email protected][email protected]\node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (21303:0)
recursivelyTraverseLayoutEffects
..\..\node_modules\.pnpm\[email protected]_@[email protected]_@[email protected][email protected][email protected]\node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (22823:0)
commitLayoutEffectOnFiber
..\..\node_modules\.pnpm\[email protected]_@[email protected]_@[email protected][email protected][email protected]\node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (21314:0)
recursivelyTraverseLayoutEffects
..\..\node_modules\.pnpm\[email protected]_@[email protected]_@[email protected][email protected][email protected]\node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (22823:0)
commitLayoutEffectOnFiber
..\..\node_modules\.pnpm\[email protected]_@[email protected]_@[email protected][email protected][email protected]\node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (21303:0)
recursivelyTraverseLayoutEffects
..\..\node_modules\.pnpm\[email protected]_@[email protected]_@[email protected][email protected][email protected]\node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (22823:0)
commitLayoutEffectOnFiber
..\..\node_modules\.pnpm\[email protected]_@[email protected]_@[email protected][email protected][email protected]\node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (21303:0)
recursivelyTraverseLayoutEffects
..\..\node_modules\.pnpm\[email protected]_@[email protected]_@[email protected][email protected][email protected]\node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (22823:0)
commitLayoutEffectOnFiber
..\..\node_modules\.pnpm\[email protected]_@[email protected]_@[email protected][email protected][email protected]\node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (21314:0)
recursivelyTraverseLayoutEffects
..\..\node_modules\.pnpm\[email protected]_@[email protected]_@[email protected][email protected][email protected]\node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (22823:0)
commitLayoutEffectOnFiber
..\..\node_modules\.pnpm\[email protected]_@[email protected]_@[email protected][email protected][email protected]\node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (21303:0)
recursivelyTraverseLayoutEffects
..\..\node_modules\.pnpm\[email protected]_@[email protected]_@[email protected][email protected][email protected]\node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (22823:0)
commitLayoutEffectOnFiber
..\..\node_modules\.pnpm\[email protected]_@[email protected]_@[email protected][email protected][email protected]\node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (21473:0)
recursivelyTraverseLayoutEffects
..\..\node_modules\.pnpm\[email protected]_@[email protected]_@[email protected][email protected][email protected]\node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (22823:0)
commitLayoutEffectOnFiber
..\..\node_modules\.pnpm\[email protected]_@[email protected]_@[email protected][email protected][email protected]\node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (21473:0)
recursivelyTraverseLayoutEffects
..\..\node_modules\.pnpm\[email protected]_@[email protected]_@[email protected][email protected][email protected]\node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (22823:0)
commitLayoutEffectOnFiber
..\..\node_modules\.pnpm\[email protected]_@[email protected]_@[email protected][email protected][email protected]\node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (21473:0)
recursivelyTraverseLayoutEffects
..\..\node_modules\.pnpm\[email protected]_@[email protected]_@[email protected][email protected][email protected]\node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (22823:0)
commitLayoutEffectOnFiber
..\..\node_modules\.pnpm\[email protected]_@[email protected]_@[email protected][email protected][email protected]\node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (21473:0)
recursivelyTraverseLayoutEffects
..\..\node_modules\.pnpm\[email protected]_@[email protected]_@[email protected][email protected][email protected]\node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (22823:0)
commitLayoutEffectOnFiber
..\..\node_modules\.pnpm\[email protected]_@[email protected]_@[email protected][email protected][email protected]\node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (21473:0)
recursivelyTraverseLayoutEffects
webpack-internal:///(app-pages-browser)/../../node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected][email protected]/node_modules/next/dist/compiled/react-dom/cjs/react-dom.development.js (22823:32)
commitLayoutEffectOnFiber
webpack-internal:///(app-pages-browser)/../../node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected][email protected]/node_modules/next/dist/compiled/react-dom/cjs/react-dom.development.js (21303:41)
recursivelyTraverseLayoutEffects
webpack-internal:///(app-pages-browser)/../../node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected][email protected]/node_modules/next/dist/compiled/react-dom/cjs/react-dom.development.js (22823:32)
commitLayoutEffectOnFiber
webpack-internal:///(app-pages-browser)/../../node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected][email protected]/node_modules/next/dist/compiled/react-dom/cjs/react-dom.development.js (21314:41)
recursivelyTraverseLayoutEffects
webpack-internal:///(app-pages-browser)/../../node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected][email protected]/node_modules/next/dist/compiled/react-dom/cjs/react-dom.development.js (22823:32)
commitLayoutEffectOnFiber
webpack-internal:///(app-pages-browser)/../../node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected][email protected]/node_modules/next/dist/compiled/react-dom/cjs/react-dom.development.js (21303:41)
recursivelyTraverseLayoutEffects
webpack-internal:///(app-pages-browser)/../../node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected][email protected]/node_modules/next/dist/compiled/react-dom/cjs/react-dom.development.js (22823:32)
commitLayoutEffectOnFiber
webpack-internal:///(app-pages-browser)/../../node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected][email protected]/node_modules/next/dist/compiled/react-dom/cjs/react-dom.development.js (21303:41)
recursivelyTraverseLayoutEffects
webpack-internal:///(app-pages-browser)/../../node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected][email protected]/node_modules/next/dist/compiled/react-dom/cjs/react-dom.development.js (22823:32)
commitLayoutEffectOnFiber
webpack-internal:///(app-pages-browser)/../../node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected][email protected]/node_modules/next/dist/compiled/react-dom/cjs/react-dom.development.js (21303:41)
recursivelyTraverseLayoutEffects
webpack-internal:///(app-pages-browser)/../../node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected][email protected]/node_modules/next/dist/compiled/react-dom/cjs/react-dom.development.js (22823:32)
commitLayoutEffectOnFiber
webpack-internal:///(app-pages-browser)/../../node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected][email protected]/node_modules/next/dist/compiled/react-dom/cjs/react-dom.development.js (21303:41)
recursivelyTraverseLayoutEffects
webpack-internal:///(app-pages-browser)/../../node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected][email protected]/node_modules/next/dist/compiled/react-dom/cjs/react-dom.development.js (22823:32)
commitLayoutEffectOnFiber
webpack-internal:///(app-pages-browser)/../../node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected][email protected]/node_modules/next/dist/compiled/react-dom/cjs/react-dom.development.js (21303:41)
recursivelyTraverseLayoutEffects
webpack-internal:///(app-pages-browser)/../../node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected][email protected]/node_modules/next/dist/compiled/react-dom/cjs/react-dom.development.js (22823:32)
commitLayoutEffectOnFiber
webpack-internal:///(app-pages-browser)/../../node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected][email protected]/node_modules/next/dist/compiled/react-dom/cjs/react-dom.development.js (21473:41)
recursivelyTraverseLayoutEffects
webpack-internal:///(app-pages-browser)/../../node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected][email protected]/node_modules/next/dist/compiled/react-dom/cjs/react-dom.development.js (22823:32)
commitLayoutEffectOnFiber
webpack-internal:///(app-pages-browser)/../../node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected][email protected]/node_modules/next/dist/compiled/react-dom/cjs/react-dom.development.js (21473:41)
recursivelyTraverseLayoutEffects
webpack-internal:///(app-pages-browser)/../../node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected][email protected]/node_modules/next/dist/compiled/react-dom/cjs/react-dom.development.js (22823:32)
@CodyJasonBennett CodyJasonBennett added the bug Something isn't working label Jun 4, 2024
@CodyJasonBennett
Copy link
Member

Seems like a bug, maybe related to #3203. Your fix looks fine, it's not expected for that loop to be reachable unless we handled every other type except for non-null objects.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants