isoroutes

Isomorphic Router on CSP channels

Usage no npm install needed!

<script type="module">
  import isoroutes from 'https://cdn.skypack.dev/isoroutes';
</script>

README

isoroutes

alt tag

Library to simplify isomorphic development with React.js and any server-ready JavaScript framework.

FAQ

  1. Why another router?

    I believe that it’s possible to make router functionality pure and simple. Without promises and bunch of callback-style code. Right now it’s completely pure: for same input (state) router generate same output (rendered markup).

  2. Why CSP channels?

    With CSP channels it's easy organize asynchronous workflow required for retreiving multiple components state. Code looks clean, testable and easy-to-understand.

  3. It's only for React.js?

    No, it's possible to use with any server-ready framework (even vanilla JS!). Just write correspond render module and move on.