rive-app/rive-react

State machine cannot be interfered with by another hook.

hmmhmmhm opened this issue · 1 comments

스크린샷 2022-12-19 오후 1 12 43

스크린샷 2022-12-19 오후 1 12 35

I want to automatically change a certain state after n seconds. However, the status machine is not detected in any other hook except onClick in the Live component.

I checked that it works in the following way. Thx!

  useEffect(() => {
    console.log('useEffect levelInput', { levelInput })
  }, [levelInput])