Debounce: make it possible to inmediately return the initial value
Use case:
- You have a computed property, for instance a query, which gets updated by some filters in your UI.
- The initial debouncedQuery should be set to the value of query, and updates after that should be debounced by x ms
Run & review this pull request in StackBlitz Codeflow.
⚠️ No Changeset found
Latest commit: 42673f5f0b1e62bc10b8b906461faea57759dae9
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
This PR includes no changesets
When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a changeset to this PR
any chance you can rebase? just merged something that'll fix parts of CI