travi / hapi-react-router

hapi route to delegate routing for html content to react-router
MIT License
6 stars 2 forks source link

support react-router v4 #122

Open travi opened 7 years ago

travi commented 7 years ago

From the new docs:

Previous versions of React Router used static routes to configure your application’s routing. This allows for inspection and matching of routes before rendering. Since v4 moved to dynamic components instead of route configs, some previous use-cases became less obvious and tricky.

We are developing a package to work with static route configs and React Router, to continue to meet those use-cases. It is under development now but we’d love for you to try it out and help out.

travi commented 6 years ago

“Server Rendering, Code Splitting, and Lazy Loading with React Router v4” @GaryBorton https://medium.com/airbnb-engineering/server-rendering-code-splitting-and-lazy-loading-with-react-router-v4-bfe596a6af70

travi commented 6 years ago

Potential upcoming React features could potentially simplify this: https://blogg.svt.se/svti/react-suspense-server-rendering/