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.

What's coming next & Superfine v. Hyperapp

See original GitHub issue

Here is a mixed list of current and upcoming Superfine features and changes. Some of these may not be available to Hyperapp or vice-versa. I’m planning to work through these after Hyperapp V2 is out.

  • Typescript rewrite.
    • Use more ES6 features, e.g., Map, arrow functions, destructuring.
  • Superfine will continue to support lifecycle events as a pragmatic solution for enter/exit animations, encapsulation of state, global event listeners, etc. See https://github.com/hyperapp/hyperapp/issues/717 for more uses and why they’re going to be removed from Hyperapp.
  • Lazy views. See: https://github.com/hyperapp/hyperapp/issues/721
    • Lazy views allows you to declare a part of your VDOM should be re-rendered only when some data changes. This features is equivalent to Elm’s Html.lazy.
  • Expose eventProxy.
    • Intercepting DOM events allows Hyperapp to couple VDOM and state management. Another use could be auto-redrawing. What else could you use it for?
  • JSX fragments (vnodes of type array) #71.
  • Explore class components (not available to Hyperapp)
  • Shadow DOM?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:10 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
jorgebucarancommented, Mar 22, 2019

@132yse You’re probably looking at Hyperapp 1’s VDOM, hence the confusion.

Superfine (this project) and Hyperapp 2’s VDOM code is essentially the same, therefore performance is the same too.

Hyperapp 2 doesn’t include lifecycle events (Superfine still does) and DOM events dispatch actions directly, making it faster than Superfine, but possibly not for a lot.

Or did Hyperapp lose some of its performance for size?

No, it didn’t.

0reactions
jorgebucarancommented, Jul 1, 2019

Superfine 7 is out. I think we’re done here. Some of the stuff I wrote up there is either outdated or never materialized. Check out the docs to know what’s in it or not. 👋

Read more comments on GitHub >

github_iconTop Results From Across the Web

Lifecycle Events. Should they stay or should they go? #717
I want to remove lifecycle events from Hyperapp (V2). ... What's coming next & Superfine v. ... What if: class components? jorgebucaran/superfine#135.
Read more >
Superfine 8 — Absolute bare minimum view layer for building ...
How is HyperApp coming along these days? ... Superfine is not based on another project and there's no next method either. ... React...
Read more >
Let's make the worst React ever!
I love React. Yet, I never use it. I normally end up with smaller alternatives like Preact, superfine, hyperapp or Mithril. I choose...
Read more >
hyperapp - npm
The tiny framework for building hypertext applications. Do more with less—We have minimized the concepts you need to learn to get stuff done....
Read more >
How to Create Hyper App with Single HTML and CDN Link
0:00 · New ! Watch ads now so you can enjoy fewer interruptions. Got it.
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