cm0002@lemmy.world to Programming@programming.dev · 6 months agoCloudflare outage due to excessive useEffect API callsblog.cloudflare.comexternal-linkmessage-square3linkfedilinkarrow-up135arrow-down10cross-posted to: programming@lemmy.ml
arrow-up135arrow-down1external-linkCloudflare outage due to excessive useEffect API callsblog.cloudflare.comcm0002@lemmy.world to Programming@programming.dev · 6 months agomessage-square3linkfedilinkcross-posted to: programming@lemmy.ml
minus-squaredependencyinjection@discuss.tchncs.delinkfedilinkarrow-up10·6 months agoThis thing is so common too. Even the linter in my IDE will complain about a missing item in the dependency array and I can see immediately that this will cause an infinite loop. Have to disable the linter for that line.
minus-squaresfxrlz@lemmy.dbzer0.comlinkfedilinkarrow-up2·6 months agoI never understood that part about the default linting rules for react.
This thing is so common too. Even the linter in my IDE will complain about a missing item in the dependency array and I can see immediately that this will cause an infinite loop. Have to disable the linter for that line.
I never understood that part about the default linting rules for react.