Hacker News new | ask | show | jobs
by mahaganapati 2146 days ago
First of all, thank you for detailing all of that and for sharing here. And for all the work you've put in to this! And secondly I wanted to say that this

> but I ended up just creating minimal libraries for everything I normally would use a dependency for. My simplistic Markdown parser is around 150 lines, my Axios "clone" is just a small 100 line wrapper for fetch, my routing library is just matching the URL against my small list of path regexes and returning the corresponding component to render, etc.

is really cool to read as a frontend engineer.

1 comments

I'm glad you're a fan too! Yeah, vanilla Javascript seems pretty powerful these days. If you don't care too much about backwards compatibility or supporting really old browsers then you can get a lot done with really thin wrappers tailored to your use case. I suppose time will tell whether or not it was the right decision, but in the meantime I really like the peace of mind from not having to rely on npm.