react-router-route-module-patterns
React Router Route Module Patterns
This guide strictly defines how to and not to implement applications under React Router.
Terms
This section defines terms we use in the remainder of this document.
Route Module
A Route Module is a .tsx file which is rendered as a page by React Router.
A .tsx file is technically specified as a Route Module by adding it to routes.ts.
Route Component
A Route Component is the default exported component from a Route Module.
Principles
More from geb-algebra/geb-agent-skills
ui-components
Implement React components in maintainable, effortless and consistent way. Use when you implement React components for your application.
4principles-of-coding-with-geb
Principles of coding tasks I prefer. Use this skill for EVERY code-related task (e.g., implementation planning, coding, writing documentations).
4domain-driven-development
Implement the entire application with domain-driven development (DDD) architecture. Use when you design and implement the overall architecture of the application, define domain objects and their relationships, implement business logic in services, and create APIs and UI components for the domain objects and logic.
3impl-pad
Implement following your Pad (a markdown file named `pad.md`). Use When the user instructs you to implement something, specifying pad.md.
1write-pad
Write your Pad (a markdown file named `pad.md` in this repository). Use when the user instructs you to write a pad.md.
1