Querying the data in nested routes

29/07/2022 6 min Temporada 2 Episodio 27
Querying the data in nested routes

Listen "Querying the data in nested routes"

Episode Synopsis


Any way to pass data we fetched in some parent route to children route. There are cases where routes will need a same data. For example post details to show on details page and edit modal. Also user data is almost required on all the segmentsExample of useMatches in the stacksQuerying the data in nested routes