3 days
•
Articles
• 11 min read
I've seen this file in almost every frontend project I've ever touched.
It's usually called api.js or utils.js or sometimes just helpers.ts.
It starts small. One function. Two functions.
Then, six months later, it's 800 lines long, nobody fully un...