Infinite loops #2962
Infinite loops
#2962
Replies: 2 comments 5 replies
-
Thanks for reporting! const squares = useGameStore((state) => state.squares)
const setSquares = useGameStore((state) => state.setSquares) |
Beta Was this translation helpful? Give feedback.
1 reply
-
Met this bug, too. It's the "array selector" causing the infinite loops. const [materials] = useGlobalStore((state) => [state.materials]) |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
This code is from Tutorial: Tic-Tac-Toe
Inside board component
this statement is causing infinite loops.
Beta Was this translation helpful? Give feedback.
All reactions