What is the point of this library?
eldoy opened this issue · comments
Vidar Eldøy commented
You know you can create components using just Javascript functions, right? And that such components are isomorphic and also works server side? With literally zero (0) kb package size or extra libraries needed?
function myComponent(props) {
return `<my-component>${props.name}</my-component>`
}
Avichay Eyal commented
Yes, you can also use React, Angular or Vue, or svelte. The point is that this is a stateful web-components library with in-template javascript.
Compared to other common libraries, it is fast and uses less computation power.
SSR is a real good solution if you are willing to pay the price for the servers, depends on the use case.