Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(plugins): Add refetch interval plugin #153

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

vad1ym
Copy link

@vad1ym vad1ym commented Jan 7, 2025

Hi! Colada is awesome! I’m planning to migrate from TanStack, but the key feature I’m currently missing to start using the library is refetchInterval.

I’ve added a base plugin and some test cases, following the structure of other plugins. It works and behaves similarly to TanStack, but Colada’s plugin API feels a bit complicated to me, so I’d appreciate your help in finishing it properly.

In particular, I’m unsure about the Map keys I’m using. Should we use the query key (array?) itself as the Map key? And should it be a WeakMap instead?

Copy link

netlify bot commented Jan 7, 2025

Deploy Preview for funny-banoffee-0afb46 ready!

Name Link
🔨 Latest commit 036add9
🔍 Latest deploy log https://app.netlify.com/sites/funny-banoffee-0afb46/deploys/677d90d5479a6600082c72a3
😎 Deploy Preview https://deploy-preview-153--funny-banoffee-0afb46.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🆕 Triaging
Development

Successfully merging this pull request may close these issues.

1 participant