File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed
pages/pages/useQueryStates Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change 11'use client'
22
3+ import Link from 'next/link'
34import {
45 parseAsBoolean ,
56 parseAsFloat ,
@@ -39,6 +40,10 @@ const IntegrationPage = () => {
3940 >
4041 Clear
4142 </ button >
43+ < nav >
44+ < Link href = "?string=Hello& int = 42 " > Link A</ Link >
45+ < Link href = "?string=World& int = 47 " > Link B</ Link >
46+ </ nav >
4247 < p id = "json" > { JSON . stringify ( state ) } </ p >
4348 < p id = "string" > { state . string } </ p >
4449 < p id = "int" > { state . int } </ p >
Original file line number Diff line number Diff line change 1+ import Link from 'next/link'
12import { queryTypes , useQueryStates } from 'nuqs'
23import { HydrationMarker } from '../../../components/hydration-marker'
34
@@ -36,6 +37,10 @@ const IntegrationPage = () => {
3637 >
3738 Clear
3839 </ button >
40+ < nav >
41+ < Link href = "?string=Hello& int = 42 " > Link A</ Link >
42+ < Link href = "?string=World& int = 47 " > Link B</ Link >
43+ </ nav >
3944 < p id = "json" > { JSON . stringify ( state ) } </ p >
4045 < p id = "string" > { state . string } </ p >
4146 < p id = "int" > { state . int } </ p >
You can’t perform that action at this time.
0 commit comments