Skip to content

Commit 48f038d

Browse files
committed
[wip] fix(useQuery): use setOptions for updating query. Thanks to that previous value of data is shown while loading new one and networkStatus should have a correct value in that case
BREAKING CHANGE: previous value of `data` is shown while loading new one Closes trojanowski#117 Closes trojanowski#121 Closes trojanowski#129
1 parent 420504c commit 48f038d

File tree

1 file changed

+50
-0
lines changed

1 file changed

+50
-0
lines changed

src/useQuery.ts

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,3 +238,53 @@
238238
***REMOVED***
239239
***REMOVED***
240240
***REMOVED***
241+
***REMOVED***
242+
***REMOVED***
243+
***REMOVED***
244+
***REMOVED***
245+
***REMOVED***
246+
***REMOVED***
247+
***REMOVED***
248+
***REMOVED***
249+
***REMOVED***
250+
***REMOVED***
251+
***REMOVED***
252+
***REMOVED***
253+
***REMOVED***
254+
***REMOVED***
255+
***REMOVED***
256+
***REMOVED***
257+
***REMOVED***
258+
***REMOVED***
259+
***REMOVED***
260+
***REMOVED***
261+
***REMOVED***
262+
***REMOVED***
263+
***REMOVED***
264+
***REMOVED***
265+
***REMOVED***
266+
***REMOVED***
267+
***REMOVED***
268+
***REMOVED***
269+
***REMOVED***
270+
***REMOVED***
271+
***REMOVED***
272+
***REMOVED***
273+
***REMOVED***
274+
***REMOVED***
275+
***REMOVED***
276+
***REMOVED***
277+
***REMOVED***
278+
***REMOVED***
279+
***REMOVED***
280+
***REMOVED***
281+
***REMOVED***
282+
***REMOVED***
283+
***REMOVED***
284+
***REMOVED***
285+
***REMOVED***
286+
***REMOVED***
287+
***REMOVED***
288+
***REMOVED***
289+
***REMOVED***
290+
***REMOVED***

0 commit comments

Comments
 (0)