What's coming next & Superfine v. Hyperapp
See original GitHub issueHere 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:
- Created 5 years ago
- Comments:10 (4 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@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.
No, it didn’t.
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. 👋