4 ms·
This one is 25 bytes gzipped http://vanilla-js.com/ http://vanilla-js.com/
by isakkeyten 8y ago
This one is 25 bytes gzipped http://vanilla-js.com/ http://vanilla-js.com/
- starbuzz 8y agoThat, no one can beat.
- jordan801 8y agoExcept, OP is showcasing a framework, and this is a library. And mostly native to browsers already.
- no_wizard 8y agoYou do realize that this is simply a page that advocates using plain JavaScript and isn’t an actual “framework” right? I mean I can see the point you are trying to make, but it feels mildly disingenuous to link to this without explaining what you really mean.
- danlugo92 8y agoIt's just a joke really.
- cpburns2009 8y agoI have a better one. Knock knock... blank page... <Ctrl>+<Shift>+<I>: "Uncaught TypeError: cannot read property 'a' of undefined."
- ericwood 8y agoPeople really enjoy pulling this up every time a JS framework is talked about, and it's really tiring. I say this as someone whose entire job is writing "vanilla JS" without any sort of framework! People do have a tendency to overdo tooling and lean too heavily on frameworks to get things done, but if you're building something without one you end up creating a lot of abstractions and boilerplate yourself to do anything relatively advanced and end up with a micro-framework of sorts at the end of the day, not unlike what was posted here! There's a lot of value in taking something small like this and building off of it. Just linking to that vanilla JS site is snarky and unproductive.
- throwaway413 8y ago0 bytes unzipped!
- squeaky-clean 8y agoThe dependencies add up though, it's more like it's 17 Megabytes on the server https://nodejs.org/dist/v8.11.2/ https://nodejs.org/dist/v8.11.2/ Or 30 MB for the client side https://www.google.com/chrome/ https://www.google.com/chrome/
- spankalee 8y agovanilla-js is really powerful! One incredible feature they don't even list yet is Web Components.
- dzonga 8y agoPreach! we on the vanilla JS train can speak of it's performance, easy to deploy. <script type='module'>. <template> and template literals can your app scoring 90s on lighthouse, as if server rendered.
- starbuzz 8y agoHyperapp and Web Components is a great combo, especially because they can help with the problem of maintaining local component state, not a feature of Hyperapp.
- wolco 8y agoDoes it work in ie9?
- starbuzz 8y agoYes. Not IE8, though.