2019年2月8日 kenjimorita An Effect function must not return anything besides a function, useEffect, which is used for clean-up. It looks like you wrote useEffect(async () => ...) or returned a Promise. Instead, you may write an async function separately and then call it from inside the effect: 解決【React/useEffect】Uncaught TypeError: destroy is not a function 続きを読む →