Hacker News new | ask | show | jobs
by vardaro 1901 days ago
Why this over react, vue, or angular?
1 comments

Not author, but this looks like a set of three small functions for a) creating web components, b) managing app state, and c) pub/sub event bus. It seems to focus on creating web components first and foremost, and then provides a couple of utilities to interact with them in a application.

React, vue, angular, etc. are more fully fledged frameworks for creating apps. None of them focus on standard web components, and all have their own internal component state + structure.

I guess you would want this if you need your components to be standard web components, e.g. if they are consumed by a parent app written in a different framework. So maybe a comparison with Stencil[1], lit-element[2], or LWC[3] is more apt.

1: https://stenciljs.com/

2: https://lit-element.polymer-project.org/

3: https://lwc.dev/