Skip to contentOpen History to see the last commit
postsQueryOptions.tsx
7 lines196 Bytes
1import { queryOptions } from '@tanstack/solid-query' 2import { fetchPosts } from './posts' 4export const postsQueryOptions = queryOptions({ 6 queryFn: () => fetchPosts(),