/event-driven-web-components-router

Event driven single-page app router with VanillaJS Web Components

Primary LanguageJavaScriptMIT LicenseMIT

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

Support

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