Closed sukovanej closed 1 week ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
This pull request is automatically built and testable in CodeSandbox.
To see build info of the built libraries, click here or the icon next to each commit SHA.
Latest deployment of this branch, based on commit 84e38488a5a21b60f8ac8b339a2fd239a20183fb:
Sandbox | Source |
---|---|
@tanstack/query-example-angular-basic | Configuration |
@tanstack/query-example-react-basic-typescript | Configuration |
@tanstack/query-example-solid-basic-typescript | Configuration |
@tanstack/query-example-svelte-basic | Configuration |
@tanstack/query-example-vue-basic | Configuration |
This PR should be ready. @TkDodo could you please take a look?
CI is running/has finished running commands for commit 84e38488a5a21b60f8ac8b339a2fd239a20183fb. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.
📂 See all runs for this CI Pipeline Execution
Sent with 💌 from NxCloud.
Currently, objects with custom prototypes (created using
Object.create(...)
) are dealt with as plain objects. That causes them to be copied without the prototype in case of refetch / invalidation and results in buggy behaviour. This is problematic when using together with https://github.com/Effect-TS/effect (e.gOption
,Either
, ... data structures).BTW, based on the test suite, it might cover other checks like
prot.hasOwnProperty('isPrototypeOf')
so the impl ofisPlainObject
could be refactored a little but I'm honestly not 100% sure.