Aaand please for the love of all that is, do NOT // eslint-disable-next-line react-hooks/exhaustive-deps 🙂
Reposted from Ricky
don’t useEffect, but if you must, don’t call setState in it

Comments