An open API service indexing awesome lists of open source software.

https://github.com/weedshaker/event-driven-web-components-router

Event driven single-page app router with VanillaJS Web Components
https://github.com/weedshaker/event-driven-web-components-router

router usetheplatform webcomponent

Last synced: about 2 months ago
JSON representation

Event driven single-page app router with VanillaJS Web Components

Awesome Lists containing this project

README

          

# Event Driven Web Components Router

> A router for an event driven architecture.

### Installation and Serving

- npm install
- npm run serve

npm run serve is important, since for single-page style routing the web server must redirect to an entry file => index.html

### Articles

- [Build an Event Driven TodoMVC App with 8 lightweight VanillaJS Web Components](https://dev.to/weedshaker/build-an-event-driven-todomvc-app-with-8-lightweight-vanillajs-web-components-5b65)
- [DOM and the event driven architecture - Introduction](https://dev.to/weedshaker/dom-and-the-event-driven-architecture-1519)
- [Web Components and now what?](https://dev.to/weedshaker/web-components-and-now-what-k97)

### Support

- [Twitter](https://twitter.com/weedshaker)

## Implementation

Frontend Event Driven Architecture works basically like the DOM itself. There are loosely coupled components (nodes), which emit events and those get captured by other components. They may also emit events on their behalf, which can be consumed.

## Credit

Created by [スィルヴァン aka. Weedshaker](https://github.com/Weedshaker)