-
Notifications
You must be signed in to change notification settings - Fork 10
Routing
Jeremy Asuncion edited this page Jul 11, 2024
·
2 revisions
Routing is handled entirely through Remix's routing system using file based routing:
becomes:
/
/api
/api/event
/api/file-size
/api/logs
/browse-data/datasets
/browse-data/depositions
/competition
/data-submission-policy
/datasets/<id>
/faq
/plausible.js
/privacy
/runs/<id>
- Try to make routes modular to load data in parallel
- Handle data fetching in route file
- Implement page as a separate component to keep route file clean