Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR it keeps the
root.tsx
as we had it but adds an<Outlet/>
so it shows:_marketing/index.tsx
on the/
page (since the_
prefix indicates it’s not a real routing folder),/cases/
,123
on/cases/123
, that is literally it just prints123
or whatever variable is in the route for now.Because
<CaseSummary/>
was retained onroot.tsx
for now, it always displays. I believe @jkoren has a revision that moves that to a subroute which will be done after this one.See also:
remix-flat-routes File system routing conventions (full doc link)
remix-flat-routes
converts+/
(that is, folder ending in plus sign) to.
.privacy.jsx
pages.tos.jsx
about.jsx
about.contact.jsx
about.index.jsx
about_.company.jsx
_auth.jsx
_auth.login.jsx
users.$userId.jsx
docs.$.jsx
dashboard.route.jsx
investors/[index].jsx
Routes folder in this early PR version: