Skip to content

Latest commit

 

History

History
21 lines (12 loc) · 552 Bytes

README.md

File metadata and controls

21 lines (12 loc) · 552 Bytes

Demo Universal Router with React

Declare routes & one single resolve()method that ReactDOM.render() the page.

Layout Suspense/lazy easy with next() middleware and

Async routes. Can fetch() data before rendering the page to be rendered.

Needs external state manager (eg Mobx) to pass the props

Redirection. Be careful there.

Deploy Codesandbox

Insert "box" https://githubbox.com/ndrean/universal-router-redict

Deploy on Staclblitz

Append the repo after uri https://stackblitz.com/github/ndrean/universal-router-redict