lore-hook-router

A Lore hook for specifying the react-router routes and history type

Usage no npm install needed!

<script type="module">
  import loreHookRouter from 'https://cdn.skypack.dev/lore-hook-router';
</script>

README

lore-hook-router

Purpose

A hook for generating the routes for React Router and specifying the type of history that should be used (hash or browser).