@rsc-kit/mcp 0.16.2 → 0.16.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/guides/routing.md +3 -1
- package/package.json +1 -1
package/guides/routing.md
CHANGED
|
@@ -301,7 +301,9 @@ a stored page, so `usePathname` just answers with the url being rendered.
|
|
|
301
301
|
|
|
302
302
|
A **query string** is not — the same route is asked for with `?q=shoes` and
|
|
303
303
|
`?q=hats` — so there is no honest answer at build time, and `useSearchParams`
|
|
304
|
-
throws rather than pretending it is empty.
|
|
304
|
+
throws rather than pretending it is empty. The dev server does the same, on
|
|
305
|
+
purpose: a page has one shape, and a boundary missing in dev is the one the
|
|
306
|
+
build will refuse.
|
|
305
307
|
|
|
306
308
|
Wrap it, and the throw becomes the fallback:
|
|
307
309
|
|
package/package.json
CHANGED