您即将离开知乎,请注意您的帐号和财产安全。
https://javascript.plainenglish.io/5-useeffect-infinite-loop-patterns-2dc9d45a253f