I didn't set out to build a router.
I had a project built with HTML and Web Components. It worked, and I was happy with that stack. Then a few sections needed client-side navigation.
Most pages needed to remain HTML-first for SEO and the initial render, so rewriting the entire site in React didn't make sense.
I added React only to those sections.
It solved the routing problem, but now I had React and Web Components in the same project. Maintaining both stacks became the new problem.






