Don't do the async task directly in the useEffect, instead, ALWAYS wrap your async task into a function and only call it from the useEffect.
確定! 回上一頁