Dispatch from useReducer not working as I wanted

前端 未结 0 462
夕颜
夕颜 2021-01-30 19:51

I\'m having a trouble here with dispatch! Take a look at this code right here...

useEffect(() => {
    if (state?.trigger) {
      setIsLoading(true);

      f         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题