11
I finally stopped overcomplicating my first API call after a random dev in Ohio set me straight
Was stuck for 3 days trying to use axios with all these fancy error handlers and interceptors. Guy at a local meetup in Dayton just said 'use fetch, it's built in, stop googling everything.' He showed me his 40 line example and it worked first try. Anyone else waste way too much time on tools you don't need yet?
2 comments
Log in to join the discussion
Log In2 Comments
derekwalker6d ago
Three days on a 40 line fix... that's brutal but honestly so familiar. I've done the same thing with tools that looked cool on GitHub but just added layers of stuff I didn't get yet. Keep it simple till you actually hit a wall, then add the fancy stuff.
9
henderson.hugo5d ago
Hear you on that, but I'm curious how you decide when a tool is actually worth the headache. Was there a moment with that 40 line fix where you realized the simple version would've worked, or did you have to see it fail all the way through? I keep going back and forth on this myself, seems like half the time I rip the thing out and rewrite it plain.
1