gaearon/suspense-experimental-github-demo

How to handle nested sub-routes?

salvoravida opened this issue · 3 comments

How to handle nested sub-routes?

With the pattern of this demo, we should have a group of dataFetch for every absolute FULL path of our web app.

is there a way to handle nested subroutes data fetching locally?

Think about a dashboard with dinamyc widgets, and dimanyc routes...

I think this demo might have what you’re looking for? https://github.com/relayjs/relay-examples/tree/master/issue-tracker/

maybe i'm wrong, but it seems that to start fetching before route mount, we lost Declarative Router (react-router v4-v5) with support for many nested sub routes in sub components etc...

i cannot view a solution to that ... right now