question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.


TL;DR 👋

If you are reading this issue now, just be aware we considered rewriting the source in ES6 at some point, but eventually decided not to. The rationale is ES6 would make it slightly more difficult for developers to hack with Hyperapp without introducing a build system and still no CommonJS support out of the box.

Hyperapp is a minimal library and with an unchanging goal of staying forever lean and beginner friendly.

You can take an hour and read through the entire 250ish LOC here and here and you’d understand pretty much everything. Zero dependency. It’s all there, the virtual DOM, the state container, etc.


See original discussion
@maraisr Summarizing the discussion in #29, #30, #31 and #32 we'd like to modernize the code base to use more ES6 idioms and introduce webpack to bundle the distribution.

Rationale

  • Using more ES6 idioms may encourage more contributions.

  • Using more ES6 idioms means a smaller bundle for users targetting really modern browsers. For example, in production users may consume our src directory directly with their application and don’t babelify (or maybe babelify a some things via plugins) and use something like babili to minify modern JavaScript. This means even smaller bundles.

  • Other than prototyping, examples, presentations and maybe even real small-ish apps, users will want to bundle their apps using a bundler like browserify, webpack, rollup, etc.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:36 (27 by maintainers)

github_iconTop GitHub Comments

1reaction
lukeedcommented, Aug 31, 2018

@jorgebucaran If you’re aiming for smallest bundle size (I know you are 😉) go with Rollup & Bublé. With only quick glances, I see nothing in Hyperapp that inhibits this combo.

Webpack has a future goal of beating Rollup in footprint size, but they have a way to go. Bublé is always the right choice.

1reaction
maraisrcommented, Feb 7, 2017

With this - I mean like, you may as well use proper function statements and not const everything

Read more comments on GitHub >

github_iconTop Results From Across the Web

Modernize: Find the Best Home Improvement Contractors ...
Use Modernize to quickly find reliable home improvement contractors in your area. AC/Heating, Windows, Roofing, Bathrooms, Kitchen Cabinets and more.
Read more >
Modernize Definition & Meaning - Merriam-Webster
The meaning of MODERNIZE is to make modern (as in taste, style, or usage). How to use modernize in a sentence.
Read more >
Modernize - Home - Facebook
Modernize is your trusted ally in home improvement—empowering homeowners with expert guidance and educational tools to take on big projects with confidence.
Read more >
MODERNIZE | definition in the Cambridge English Dictionary
to start using more recent methods, ideas, equipment, etc. so that something becomes or seems more modern: There has been a lot of...
Read more >
Modernize - LinkedIn
Here at Modernize, we've set out to create a fresh experience to connect contractors with homeowners looking to upgrade their home. Today we...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found