don’t useEffect
Reposted from Ricky
don’t useEffect, but if you must, don’t call setState in it

Comments