react-with-moxy icon indicating copy to clipboard operation
react-with-moxy copied to clipboard

Explore other routing solutions

Open satazor opened this issue 7 years ago • 3 comments

We are using react-router@3 and react-router@4 is broken by design.

We should explore other routing solutions. Things to take into consideration:

  • Data fetching, blocking and non-blocking
  • Scroll restoration only after transition ends
  • Server-side rendering
  • Lazy load components
  • Integrate with css chunks + css loading

satazor avatar Nov 23 '17 19:11 satazor

Another option to consider is https://reach.tech/router, seems flexible and powerful.

antoniocapelo avatar Sep 04 '18 14:09 antoniocapelo

Why not revisit? Context API has been updated based on the timestamp of the commentary. Also for SSR, lazy-loading components you can make good usage of nextjs.

denisinla avatar Sep 13 '18 22:09 denisinla

Yes @denisinla ! nextjs seems like a good option right now. 👍

andregoncalvesdev avatar Sep 14 '18 09:09 andregoncalvesdev