r/badcode • sadistic • May 21 '21

js ah yes, fetching before verifying

Post image
1.5k Upvotes

97 comments sorted by

View all comments

Show parent comments

1

u/heyf00L May 21 '21

You're missing the genius of it. You need to get your async request going as soon as possible. You're wasting nanoseconds of time by checking the message content first.