TanStack / query

🤖 Powerful asynchronous state management, server-state utilities and data fetching for the web. TS/JS, React Query, Solid Query, Svelte Query and Vue Query.
https://tanstack.com/query
MIT License
40.53k stars 2.73k forks source link

docs: Fix usage of removeEventListener #7393

Closed Oc1S closed 1 month ago

Oc1S commented 1 month ago

Doc for custom-window-focus-event has a misusage of removeEventListener. It may mislead the user. As described in #7391

vercel[bot] commented 1 month ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment | Name | Status | Preview | Comments | Updated (UTC) | | :--- | :----- | :------ | :------- | :------ | | **query** | ⬜️ Ignored ([Inspect](https://vercel.com/tanstack/query/7A3XQsMcVXmy5zpTSkthTexNHErg)) | [Visit Preview](https://query-git-fork-oc1s-docs-fix-removeeventlistener-tanstack.vercel.app) | | May 8, 2024 7:03am |
codesandbox-ci[bot] commented 1 month ago

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 3d916cd30ad22f249be963d1ba7d46ecd2f8abc0:

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