snapshot of https://github.com/TanStack/query.git (main, 2026-09-16; blobs > 131072B omitted)
This commit is contained in:
16
integrations/react-next-14/app/page.tsx
Normal file
16
integrations/react-next-14/app/page.tsx
Normal file
@@ -0,0 +1,16 @@
|
||||
import React from 'react'
|
||||
import { queryOptions } from '@tanstack/react-query'
|
||||
import { ClientComponent } from './client-component'
|
||||
|
||||
const options = queryOptions({
|
||||
queryKey: ['foo'],
|
||||
})
|
||||
|
||||
export default function Home() {
|
||||
return (
|
||||
<main>
|
||||
<ClientComponent />
|
||||
Key: {JSON.stringify(options.queryKey)}
|
||||
</main>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user