samuelashraff / rest-to-graphql-migration

0 stars 1 forks source link

Fetch timetable data in main view loader #45

Closed Nurou closed 11 months ago

Nurou commented 12 months ago

It's currently fetched on component level. Move the fetching to the root view loader and access the data with useLoaderData from react router.