Oct 21, 2020
Yes, what you have said is very true. The useEffect can have a flag whether it is the first load or not (useRef). If it is the subsequent loading, it should use load() instead of generate(). Thanks for pointing this out!
Yes, what you have said is very true. The useEffect can have a flag whether it is the first load or not (useRef). If it is the subsequent loading, it should use load() instead of generate(). Thanks for pointing this out!
UI tech lead who enjoys cutting-edge technologies https://www.linkedin.com/in/jennifer-fu-53357b/