You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Then, the first time you load the page in the browser, you'll get an error because you didn't specify a parameter within the Link Every once in a while this still throws me off.
If it's meant to be read within code, stick <Link to={routes.upgradeGuide()}>UpgradeGuide</Link> in a comment or put it within a <pre> tag.
The text was updated successfully, but these errors were encountered:
Fixes#11385
## Feature description
When you create a brand new page, the template includes a `<Link />` to
that page.
```
<p>
My default route is named <code>upgradeGuide</code>, link to me with `
<Link to={routes.upgradeGuide()}>UpgradeGuide</Link>`
</p>
```
If you already created a parameter with the routes.tsx file
<Route path="/upgrade/{slug:string}" page={UpgradeGuideIndividualPage}
name="upgradeGuideIndividual" />
Then, the first time you load the page in the browser, you'll get an
error because you didn't specify a parameter within the Link Every once
in a while this still throws me off.
## Analysis and Design
I considered using a `<pre>` tag or a `<code>` tag, but it would still
throw the same error.
## Solution description
I updated all the templates to include the path within a comment.
---------
Co-authored-by: Josh GM Walker <56300765+Josh-Walker-GM@users.noreply.github.com>
When you create a brand new page, the template includes a
<Link />
to that page.If you already created a parameter with the routes.tsx file
Then, the first time you load the page in the browser, you'll get an error because you didn't specify a parameter within the Link Every once in a while this still throws me off.
If it's meant to be read within code, stick
<Link to={routes.upgradeGuide()}>UpgradeGuide</Link>
in a comment or put it within a<pre>
tag.The text was updated successfully, but these errors were encountered: