DEV Community

Discussion on: I made a mistake implementing a React Hook and got a denial of service from my backend

krusenas profile image

I have seen this mistake in projects where lifecycle hooks get the same outcome, for example ComponentWillUpdate would be fetching some additional data and it would result in a loop with 1K requests per second :)