We just managed to DDOS our entire site, because we were missing an empty dependency array in the useAsync(), which resulted in endless refresh loop with microseconds between refreshes. I think it would be appropriate to throw an error if the value for denendecies in undefined
We just managed to DDOS our entire site, because we were missing an empty dependency array in the
useAsync()
, which resulted in endless refresh loop with microseconds between refreshes. I think it would be appropriate to throw an error if the value for denendecies inundefined