Sawesome, very helpful~Comment·Article·Apr 21, 2022·Why you should always Cleanup Side Effects in React useEffect and How to Cleanup
SIn React18 strict mode, when the dependency is an empty [] , the function will render twiceComment·Article·Apr 21, 2022·useEffect Hook in React