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
state-machine for object CMD_Mode_All is objs pool which little like an ENUM in js.
The function nextModeX is a next/prev choicer function which I use for quick next objs from the obj-pool. When I use it in Sore, it causes an infinite loop, even use shallow. Is there any way I can use that in-store?
in my view the value in store same as other obj, like JSON obj. but here cause infinite loop...
Thanks, guys.
btw, why the code area below doesn't change the color; I have been use ` ` ` code```
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
state-machine for object CMD_Mode_All is objs pool which little like an ENUM in js.
The function nextModeX is a next/prev choicer function which I use for quick next objs from the obj-pool. When I use it in Sore, it causes an infinite loop, even use shallow. Is there any way I can use that in-store?
in my view the value in store same as other obj, like JSON obj. but here cause infinite loop...
Thanks, guys.
Beta Was this translation helpful? Give feedback.
All reactions