Skip to content
Open
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
2 changes: 1 addition & 1 deletion src/routes/(0)concepts/(4)context.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ const Provider = (props) => (
```

:::tip[Complex Types]
When passing multiple values (as an `array` or `object`), it is recommended to use a [store](/reference/component-apis/create-context#usage).
When passing multiple values (as an `array` or `object`), it is recommended to use a [store](/concepts/stores).
:::

## Consuming context
Expand Down
2 changes: 1 addition & 1 deletion src/routes/(2)guides/(1)deployment-options/zerops.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ Push the changes to your GitHub/GitLab repository (necessary if you are planning

### Triggering the pipeline automatically by connecting Github/Gitlab repository

You can push your project by [Triggering the pipeline using Zerops CLI](#triggering-the-pipeline-using-githubgitlab) or by connecting the app service with your [GitHub](https://docs.zerops.io/references/github-integration/) / [GitLab](https://docs.zerops.io/references/gitlab-integration) repository from inside the service detail.
You can push your project by [Triggering the pipeline using Zerops CLI](#triggering-the-pipeline-manually-using-zerops-cli) or by connecting the app service with your [GitHub](https://docs.zerops.io/references/github-integration/) / [GitLab](https://docs.zerops.io/references/gitlab-integration) repository from inside the service detail.

### Triggering the pipeline manually using Zerops CLI

Expand Down
2 changes: 1 addition & 1 deletion src/routes/reference/jsx-attributes/classlist.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,4 @@ Object whose keys are class names and whose values control whether each class is

## Related

- [`class`](/reference/jsx-attributes/class)
- [`class`](/concepts/components/class-style)
2 changes: 1 addition & 1 deletion src/routes/solid-router/(1)concepts/(0)navigation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ description: >-
redirects for seamless user experiences.
---

When using Solid Router, you can use the standard standard HTML [`<a>` elements](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a), which triggers [soft navigation](/solid-router/reference/components/a#soft-navigation).
When using Solid Router, you can use the standard HTML [`<a>` elements](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a), which triggers [soft navigation](/solid-router/reference/components/a).
In addition to using this, Solid Router offers other options for navigating between routes:

- The [`<A>` component](/solid-router/reference/components/a).
Expand Down
2 changes: 1 addition & 1 deletion src/routes/solid-router/(3)data-fetching/(0)queries.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ They provide an elegant solution for managing data fetching.
## Defining queries

They are defined using the [`query` function](/solid-router/reference/data-apis/query).
It wraps the data-fetching logic and extends it with powerful capabilities like [request deduplication](#deduplication) and [automatic revalidation](#revalidation).
It wraps the data-fetching logic and extends it with powerful capabilities like [request deduplication](#deduplication) and [automatic revalidation](/solid-router/concepts/actions#automatic-data-revalidation).

The `query` function takes two parameters: a **fetcher** and a **name**.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Preloading is configured using the [`preload`](/solid-router/reference/preload-f
This prop accepts a function that calls one or more queries.
When triggered, the queries execute and their results are stored in a short-lived internal cache.
Once the user navigates and the destination route’s component renders, any `createAsync` calls within the page will consume the preloaded data.
Thanks to the [deduplication mechanism](#deduplication), no redundant network requests are made.
Thanks to the [deduplication mechanism](/solid-router/data-fetching/queries#deduplication), no redundant network requests are made.

```tsx {18-20,27}
import { Show } from "solid-js";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@ Calling both the route preload and the nested component preload can keep large d
Balancing manual preloading requires observing real user flows so you avoid prefetching large bundles that the user never requests.
Profiling tools help you spot whether preloading reduces long tasks or simply shifts work earlier without net gains.

To learn more about lazy loading components, see the [lazy documentation](/reference/component-apis/lazy#preloading-data-in-nested-lazy-components).
To learn more about lazy loading components, see the [lazy documentation](/reference/component-apis/lazy#preloading-nested-lazy-components).
2 changes: 1 addition & 1 deletion src/routes/solid-start/v1/(2)guides/(2)data-mutation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ This guide provides practical examples of using actions to mutate data in SolidS
To handle [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form) submissions with an action:

1. Ensure the action has a unique name.
See the [Action API reference](/solid-router/reference/data-apis/action#notes-of-form-implementation-and-ssr) for more information.
See the [Action API reference](/solid-router/reference/data-apis/action) for more information.
2. Pass the action to the `<form>` element using the `action` prop.
3. Ensure the `<form>` element uses the `post` method for submission.
4. Use the [`FormData`](https://developer.mozilla.org/en-US/docs/Web/API/FormData/FormData) object in the action to extract field data using the native `FormData` methods.
Expand Down
2 changes: 1 addition & 1 deletion src/routes/solid-start/v2/(2)guides/(0)security.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ If you want to use a [strict CSP](https://developer.mozilla.org/en-US/docs/Web/H

1. Create middleware that generates a nonce and configures the CSP header before calling `next()`.
2. Create a nonce using a cryptographic random value generator, such as the [`randomBytes`](https://nodejs.org/api/crypto.html#cryptorandombytessize-callback) function from the `crypto` module.
3. Store the nonce in the [`locals`](/solid-start/v2/advanced/middleware#locals) object.
3. Store the nonce in the [`locals`](/solid-start/v2/advanced/middleware#request-scoped-locals) object.
4. Configure SolidStart to use the nonce in your [`entry-server.tsx`](/solid-start/v2/reference/entrypoints/entry-server) file.

```tsx tab title="Middleware"
Expand Down
2 changes: 1 addition & 1 deletion src/routes/solid-start/v2/(2)guides/(2)data-mutation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ This guide provides practical examples of using actions to mutate data in SolidS
To handle [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form) submissions with an action:

1. Ensure the action has a unique name.
See the [Action API reference](/solid-router/reference/data-apis/action#notes-of-form-implementation-and-ssr) for more information.
See the [Action API reference](/solid-router/reference/data-apis/action) for more information.
2. Pass the action to the `<form>` element using the `action` prop.
3. Ensure the `<form>` element uses the `post` method for submission.
4. Use the [`FormData`](https://developer.mozilla.org/en-US/docs/Web/API/FormData/FormData) object in the action to extract field data using the native `FormData` methods.
Expand Down
Loading