2.0.6-beta.0
Changes
feat: replace suspense query with option suspense
docs: remove suspense query
BREAKING CHANGES
Removed createSuspenseQuery and createSuspenseInfiniteQuery and use option suspense instead.
Before:
const useUser = createSuspenseQuery<Response>({
// ...
})
After
const useUser = createQuery<Response>({
// ...
})
const { data, error } = useUser({ suspense: true }) // data: Response, error: null
See discussion #38