-
-
Notifications
You must be signed in to change notification settings - Fork 10
feat: add vue-pacer, debounce helper, docs, example #29
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
base: main
Are you sure you want to change the base?
Conversation
fix status and execution count not wrapped properly
|
@KevinVandy Is there something I can do to unblock the failing CI? |
Are you running |
Thanks for the tip! I wasn't doing that. It helped me find and fix the issue 🙏 |
This PR is going in the right direction. It would be nice if the examples tried to mirror the react examples as much as possible so that devs could have apples to apples comparisons. Like having the exact same example structure. |
/** Set a new value (will be debounced) */ | ||
setValue: (newValue: TValue) => void | ||
/** Force immediate update of the value */ | ||
flush: () => void |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
flush
is new functionality and should probably just be added to the core package instead of being implemented at the adapter level.
There's a lot of work ahead of us to get a full vue adapter for TanStack pacer in here, but if only the debouncing gets polished up enough, we can ship it. I like what I see so far and will try to find some time this week to work on this branch too. |
I closed the original PR because Files Changed seemed abnormal.
I recreated by cherry-picking the relevant commits into this new branch.
This is a vue-adapter for tanstack-pacer and so far only brings one function:
After some reviews and, I can work on the rest of the helpers to align with what's available.