DEV Community

Discussion on: What was the worst bug you've ever written?

Collapse
 
arximughal profile image
Muhammad Arslan Aslam

Yeah.
I wrote some code that had a setState in the render(). Function with the setState was hitting a client's service which was taken down within an hour after we released and we didn't realize that until the client told us!

Not the worst, but was definitely silly!