* test: add useQueries with suspense tests
shouldn't unmount before all promises fetched
should suspend all queries in parallel - global configuration
* fix should suspend all queries in parallel - global configuration - remove query suspense option
Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
* feat(devtools): add copy object data explorer
* fix: address code comments
* fix: add logs to investigate iframe copy issue
* feat: add checkmark on copy
* add: error state
* add: test
* fix: test import
* fix: layouts and use superjson
* fix: test comment
* fix: typing and onclick only on nocopy
* prettier
* fix: test error react17
* fix: format test
* fix: test copy and add await
Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
* test: stabilize the test for notifying query cache when a query becomes stale
* test: stabilize the test for notifying query cache when a query becomes stale - attempt#2
* test: stabilize the test persisting data when enabled is changed to false
* test: stabilize the test for rendering with selected data
* test: stabilize the test for notifying query cache when a query becomes stale - attempt#3 (thanks TkDodo)
* test: stabilize the test for keeping the previous data when keepPreviousData is set
* makes consistent sentences
* makes query option data possible to read without horizontal scrolling
since the change to use the object syntax, a few of these fall off the codeblock at 100% zoom (whereas they didn't before).
* moves placeholder docs after initial-query docs
upon reading though top-to-bottom, since placeholder data's docs define themselves _in terms of_ initial query data, it may make sense to introduce initial query data first
* simplifies example
if the purpose of having a return is to really highlight that this can be a function and things can be done inside it maybe adding:
```
// do any work expensive work here
```
inside the curly braces before the return would do a better job? not sure, but this seems reasonable. just doing `initialData: getExpensiveTodos` doesn't immediately highlight that this is a function being called (rather than an array of objects or something) so makes sense to leave the noop closure.
* moves wrapping comments to be visible without horizontal scrolling
* test: stabilize test for selecting a part of the data with select
* test: stabilize test for resolving promises after reconnect
* test: stabilize test for throwing a CancelledError when a paused query is cancelled
* test: stabilize test for selecting a part of the data with select (object syntax)
* test: stabilize test for cancelling query when there are no more subscriptions
* test: apply formatting