Skip to content
This repository has been archived by the owner on Feb 25, 2022. It is now read-only.

POC demonstrating how to build standard Web Components using reactive programming.

License

Notifications You must be signed in to change notification settings

moebiusmania/reactive-webcomponents

Repository files navigation

reactive-webcomponents

POC demonstrating how to build standard Web Components using some reactive programming concepts.

Objective

The idea is to build custom elements (with or without Shadow DOM) using HyperHTML as template rendering engine and RxJS to handle the few behaviors inside of them.

The result should be a mix of performance and best practice, since:

  • scoped styles are handled by Shadow DOM (Web standard)
  • element registration is done using Custom Elements APIs (Web standard)
  • data bind and templating provided by HyperHTML is obtained via template literals (another Web standard)

How to use

As usual, on terminal:

$ npm install 
--- then ---
$ npm start

then open browser at http://localhost:8081/.

That's all.

License

Released under MIT license.

Releases

No releases published

Packages

No packages published