Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export async function getStaticPaths() {
---
```

In routes using [rest parameters](/en/guides/routing/#rest-parameters), `undefined` can be used to represent a path with no parameters passed in the URL:
In routes using [rest parameters](/en/core-concepts/routing/#rest-parameters), `undefined` can be used to represent a path with no parameters passed in the URL:

```astro title="/route/[...id].astro"
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ import DontEditWarning from '~/components/DontEditWarning.astro'
> **GetStaticPathsRequired**: `getStaticPaths()` function is required for dynamic routes. Make sure that you `export` a `getStaticPaths` function from your dynamic route.

## What went wrong?
In [Static Mode](/en/guides/routing/#static-ssg-mode), all routes must be determined at build time. As such, dynamic routes must `export` a `getStaticPaths` function returning the different paths to generate.
In [Static Mode](/en/core-concepts/routing/#static-ssg-mode), all routes must be determined at build time. As such, dynamic routes must `export` a `getStaticPaths` function returning the different paths to generate.

**See Also:**
- [Dynamic Routes](/en/guides/routing/#dynamic-routes)
- [Dynamic Routes](/en/core-concepts/routing/#dynamic-routes)
- [`getStaticPaths()`](/en/reference/api-reference/#getstaticpaths)
- [Server-side Rendering](/en/guides/server-side-rendering/)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ import DontEditWarning from '~/components/DontEditWarning.astro'
> **InvalidDynamicRoute**: The INVALID_PARAM param for route ROUTE is invalid. Received **RECEIVED**.

## What went wrong?
A dynamic route param is invalid. This is often caused by an `undefined` parameter or a missing [rest parameter](/en/guides/routing/#rest-parameters).
A dynamic route param is invalid. This is often caused by an `undefined` parameter or a missing [rest parameter](/en/core-concepts/routing/#rest-parameters).

**See Also:**
- [Dynamic routes](/en/guides/routing/#dynamic-routes)
- [Dynamic routes](/en/core-concepts/routing/#dynamic-routes)


Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ Astro tried to hydrate a component on the client, but the renderer used does not

**See Also:**
- [addRenderer option](/en/reference/integrations-reference/#addrenderer-option)
- [Hydrating framework components](/en/guides/framework-components/#hydrating-interactive-components)
- [Hydrating framework components](/en/core-concepts/framework-components/#hydrating-interactive-components)


Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ None of the installed integrations were able to render the component you importe
For JSX / TSX files, [@astrojs/react](/en/guides/integrations-guide/react/), [@astrojs/preact](/en/guides/integrations-guide/preact/) or [@astrojs/solid-js](/en/guides/integrations-guide/solid-js/) can be used. For Vue and Svelte files, the [@astrojs/vue](/en/guides/integrations-guide/vue/) and [@astrojs/svelte](/en/guides/integrations-guide/svelte/) integrations can be used respectively

**See Also:**
- [Frameworks components](/en/guides/framework-components/)
- [Frameworks components](/en/core-concepts/framework-components/)
- [UI Frameworks](/en/guides/integrations-guide/#official-integrations)


Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import DontEditWarning from '~/components/DontEditWarning.astro'
> **NoMatchingStaticPathFound**: A `getStaticPaths()` route pattern was matched, but no matching static path was found for requested path `PATH_NAME`.

## What went wrong?
A [dynamic route](/en/guides/routing/#dynamic-routes) was matched, but no corresponding path was found for the requested parameters. This is often caused by a typo in either the generated or the requested path.
A [dynamic route](/en/core-concepts/routing/#dynamic-routes) was matched, but no corresponding path was found for the requested parameters. This is often caused by a typo in either the generated or the requested path.

**See Also:**
- [getStaticPaths()](/en/reference/api-reference/#getstaticpaths)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ import DontEditWarning from '~/components/DontEditWarning.astro'
The page number parameter was not found in your filepath.

**See Also:**
- [Pagination](/en/guides/routing/#pagination)
- [Pagination](/en/core-concepts/routing/#pagination)


Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ import DontEditWarning from '~/components/DontEditWarning.astro'
Certain words cannot be used for slot names due to being already used internally.

**See Also:**
- [Named slots](/en/basics/astro-components/#named-slots)
- [Named slots](/en/core-concepts/astro-components/#named-slots)