Sangwook Lee

Results 3 comments of Sangwook Lee

Same here. environment.yml is not working right now....

> A quick fix is to wrap it in `setTimout` like so: > > `const refetch = useCallback(() => { setTimeout(() => _refetch(), 0) }, [_refetch])` const {loading, error, data}...

앞서 말하신 부분에서 에러가 나는 이유는 저희가 앞서 createAsyncAction에서 Request type을 정할 때 undefined로 하는 바람에 type inference가 EmptyActionCreator로 되어서 그런 것 같네요. 원래 AsyncActionCreatorBuilder로 만들어진 type은 PayloadActionCreator여야 하는데요. 저는...