by mattlondon · 2y ago · 0 comments
Vanilla JavaScript these days is an absolute joy to code in (and highly performant compared to the past). Even lazy-loading modules are supported natively by the browser these days - you can go a long way just using purely built-in default functionality.
I avoid NPM and React, and live my professional life quite happily without them doing professional development using typescript and angular with bazel. For fun home projects there is deno which is also lovely. Bun looks interesting but appears to want to ape NPM so it is a no from me.
So you aren’t using vanilla javascript, you’re using angular - yet another framework/library
It's been fantastic. And I'll be able to keep my project insanely performant. I'll be posting it in a Show HN when I seen it cool enough.
Couple concrete examples of web apis getting awesome:
Document.querySwlector or whatever it's called, to do something very similar to original jqueery
Fetch API instead of ajax
Canvas API
Webgpu