vada-browser

Functions related to in-browser vada routing

Usage no npm install needed!

<script type="module">
  import vadaBrowser from 'https://cdn.skypack.dev/vada-browser';
</script>

README

Vada + Browser

This module provides functionality that is useful when running a vada application within a browser (vs. mobile or desktop).

The main idea here is to specify for the browser how to map URLs patterns to vada routes. Once this is done, the browser will monitor window.location and submit actions to the application store requesting route changes whenever a new location is requested.