News for hackers. Stuff that matters.
Re:Show HN: HyperApp – 1k JavaScript framework for building ... by isakkeyten on Tuesday May 22, 2018 @11:52AM (#17126851)
This one is 25 bytes gzipped http://vanilla-js.com/
Re:Show HN: HyperApp – 1k JavaScript framework for building ... by squeaky-clean on Tuesday May 22, 2018 @12:05PM (#17126956)
The dependencies add up though, it's more like it's 17 Megabytes on the server

https://nodejs.org/dist/v8.11.2/

Or 30 MB for the client side

https://www.google.com/chrome/

Re:Show HN: HyperApp – 1k JavaScript framework for building ... by no_wizard on Tuesday May 22, 2018 @11:59AM (#17126897)
You 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.

Re:Show HN: HyperApp – 1k JavaScript framework for building ... by ericwood on Tuesday May 22, 2018 @12:31PM (#17127194)
People 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.

Re:Show HN: HyperApp – 1k JavaScript framework for building ... by danlugo92 on Tuesday May 22, 2018 @12:12PM (#17127014)
It's just a joke really.
Re:Show HN: HyperApp – 1k JavaScript framework for building ... by cpburns2009 on Tuesday May 22, 2018 @12:26PM (#17127154)
I have a better one.

Knock knock... blank page... <Ctrl>+<Shift>+<I>: "Uncaught TypeError: cannot read property 'a' of undefined."

Re:Show HN: HyperApp – 1k JavaScript framework for building ... by spankalee on Tuesday May 22, 2018 @12:54PM (#17127380)
vanilla-js is really powerful! One incredible feature they don't even list yet is Web Components.
Re:Show HN: HyperApp – 1k JavaScript framework for building ... by dzonga on Tuesday May 22, 2018 @03:58PM (#17128910)
Preach! 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.
Re:Show HN: HyperApp – 1k JavaScript framework for building ... by starbuzz on Tuesday May 22, 2018 @08:43PM (#17130666)
Hyperapp 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.
Re:Show HN: HyperApp – 1k JavaScript framework for building ... by throwaway413 on Tuesday May 22, 2018 @12:03PM (#17126935)
0 bytes unzipped!
Re:Show HN: HyperApp – 1k JavaScript framework for building ... by jordan801 on Tuesday May 22, 2018 @11:59AM (#17126894)
Except, OP is showcasing a framework, and this is a library. And mostly native to browsers already.
Re:Show HN: HyperApp – 1k JavaScript framework for building ... by jordan801 on Tuesday May 22, 2018 @12:01PM (#17126924)
Excuse me, is native.
Re:Show HN: HyperApp – 1k JavaScript framework for building ... by hiimnate on Tuesday May 22, 2018 @12:00PM (#17126909)
> mostly native to browsers already

Woosh

Re:Show HN: HyperApp – 1k JavaScript framework for building ... by starbuzz on Tuesday May 22, 2018 @11:58AM (#17126885)
That, no one can beat.
Re:Show HN: HyperApp – 1k JavaScript framework for building ... by wolco on Tuesday May 22, 2018 @02:56PM (#17128478)
Does it work in ie9?
Re:Show HN: HyperApp – 1k JavaScript framework for building ... by starbuzz on Tuesday May 22, 2018 @08:13PM (#17130543)
Yes. Not IE8, though.