Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

This is why I don't.

Vanilla JS! 0 Dependencies!

Let the 1995 revolution begin!



Nothing wrong with modularizing code or pulling in complicated things as a dependencies. Rewriting the same tools a million times isn't a great world either. The only thing I avoid/take issue with is pulling huge dependencies to use only a tiny part. Like I wouldn't base anything designed like this page in my projects, it pulls in 1 MB of React to dynamically display an image that updates once a day.


Have fun building anything remotely complex.


I've had great fun building my canvas element library entirely in Vanilla JS. The work has helped me discover parts of the JS/DOM ecosystem that I never realised even needed to exist.


A lot of apps aren’t being built on frameworks that aren’t remotely complex.





Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: