From 5b301e2047c4d4155cd3735a1263e15598314283 Mon Sep 17 00:00:00 2001 From: Satvik Mishra Date: Mon, 12 Oct 2026 15:51:16 +0530 Subject: [PATCH] docs: fix stale lazy and middleware anchors - Preloading guide linked lazy#preloading-data-in-nested-lazy-components; the section is now "Preloading nested lazy components". - SolidStart v2 security guide linked middleware#locals; the section is "Request-scoped locals". --- src/routes/solid-router/(4)advanced-concepts/(0)preloading.mdx | 2 +- src/routes/solid-start/v2/(2)guides/(0)security.mdx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/routes/solid-router/(4)advanced-concepts/(0)preloading.mdx b/src/routes/solid-router/(4)advanced-concepts/(0)preloading.mdx index 73b9492878..3ccb1f123f 100644 --- a/src/routes/solid-router/(4)advanced-concepts/(0)preloading.mdx +++ b/src/routes/solid-router/(4)advanced-concepts/(0)preloading.mdx @@ -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). diff --git a/src/routes/solid-start/v2/(2)guides/(0)security.mdx b/src/routes/solid-start/v2/(2)guides/(0)security.mdx index 88feed732d..e3ca2eaa35 100644 --- a/src/routes/solid-start/v2/(2)guides/(0)security.mdx +++ b/src/routes/solid-start/v2/(2)guides/(0)security.mdx @@ -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"