Developer builds Aura Router to add SPA navigation to HTML and Web Components projects

A developer created Aura Router after struggling to maintain both React and Web Components in the same project when client-side navigation was needed. The router is designed to add single-page application navigation to existing HTML and Web Components projects without introducing a second component model. It requires every public URL to return complete, indexable HTML, allows routes to be declared as Custom Elements, and ensures ordinary links still function without JavaScript. A live demo illustrates that Aura updates page content without triggering a full browser reload, while also working correctly with JavaScript disabled. The initial release, version 0.1.0, is available via npm under the package name @auraui/router.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in