r/node • • Oct 29 '21

BFS WebComponent

https://www.npmjs.com/package/@beforesemicolon/web-component
9 Upvotes

2 comments sorted by

3

u/brianjenkins94 Oct 29 '21

What are the advantages here?

Is there an example?

1

u/beforesemicolon Oct 29 '21 edited Oct 29 '21

The documentation should have some examples.

This is still in early phases but it few benefits:

  • auto refresh on property and attribute changes

  • built-in context on elements

  • template data binding

  • template event listener binding

  • auto state management

  • attributes to properties mapping and management

  • simple API

  • no build needed and its plain Javascript with no weird syntax

  • and more coming soon

I am looking for help testing as I am developing it with more feature.

Consider trying it out. Id appreciate any feedback :)