Echo JS 0.11.0

<~>
[deleted news]
tracker1 221 days ago. link 1 point
Interresting, though for something like this, that's embedding in another application instead of being the application, I'd probably reach for preact or hyper as another JSX transform option, which will be much lighter.  You can even swap in prod vs dev builds for testing.  React adds a lot of tooling and niceties that come with a ton of overhead.

You're looking at probably a 80k deliverable for the example out of the box, vs under 5k using hyper+jsx or preact.

I like React.  This just is a case where using something smaller/lighter but being very similar in practice would be better.

1. https://github.com/lukejacksonn/hyperapp-wiki/blob/master/docs/jsx.md
2. https://github.com/preactjs/preact
3. https://github.com/kenoxa/svelte-jsx

Replies