From 440523c7062b6b07008e59a4d36e1c92a707b475 Mon Sep 17 00:00:00 2001 From: "ryo.watanabe" Date: Tue, 3 Mar 2020 17:54:02 +0900 Subject: [PATCH] fix suspense property introduction --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index e2128aa23da..3dec89c2dff 100644 --- a/README.md +++ b/README.md @@ -1717,7 +1717,7 @@ const { - Optional - Set this to `true` to enable suspense mode. - When `true`, `useQuery` will suspend when `status === 'loading'` - - When `true`, `useQuery` will throw runtime errors when `status === 'error'` + - When `false`, `useQuery` will throw runtime errors when `status === 'error'` - `initialData: any | Function() => any` - Optional - If set, this value will be used as the initial data for the query cache (as long as the query hasn't been created or cached yet) @@ -1840,7 +1840,7 @@ const { - Optional - Set this to `true` to enable suspense mode. - When `true`, `useQuery` will suspend when `status === 'loading'` - - When `true`, `useQuery` will throw runtime errors when `status === 'error'` + - When `false`, `useQuery` will throw runtime errors when `status === 'error'` - `initialData: any` - Optional - If set, this value will be used as the initial data for the query cache (as long as the query hasn't been created or cached yet) @@ -1978,7 +1978,7 @@ const { - Optional - Set this to `true` to enable suspense mode. - When `true`, `useQuery` will suspend when `status === 'loading'` - - When `true`, `useQuery` will throw runtime errors when `status === 'error'` + - When `false`, `useQuery` will throw runtime errors when `status === 'error'` - `initialData: any` - Optional - If set, this value will be used as the initial data for the query cache (as long as the query hasn't been created or cached yet)