top | item 18260072

(no title)

risto1 | 7 years ago

A KISS replacement for react + redux. It comes in two flavors:

- callbag-html + callbag-store

or

- callbag-element + declaredom + callbag-store if you're planning on using web components

Benefits:

- It uses morphdom for fast diffing, which is as fast as virtual-dom

- It's lack of parochiality -it just uses plain HTMLElements. It makes using 3rd party libs seamless because you don't have to wrap them. It also means that you can batch things into animation frames to avoid unnecessary layout thrashing

- Callbag is used because it's a stupidly simple streaming library, easy to understand. Things like cold/hot observables, or what gets updated in a tick, can make streaming libs pretty complicated. Callbag fights that with it's extreme simplicity.

In general the entire toolset is easy to understand in terms of how it works, and that's important

discuss

order

No comments yet.