Open
Description
Describe the bug
The toValue function (introduced in Vue 3.3) is used in VueUse v12, but the current documentation only mentions dropping Vue 2 support. Projects using Vue 3.0-3.2 will encounter errors due to this missing API.
It would be helpful to explicitly state in the documentation that VueUse v12 now requires Vue 3.3 or newer, as the dependency on toValue() makes it incompatible with Vue <3.3 implementations.
Reproduction
useThrottleFn
System Info
System:
OS: macOS 15.3
CPU: (20) x64 Intel(R) Core(TM) i9-10910 CPU @ 3.60GHz
Memory: 32.80 MB / 32.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 20.18.3 - ~/.local/state/fnm_multishells/29847_1740627426112/bin/node
Yarn: 1.22.22 - ~/.local/state/fnm_multishells/29847_1740627426112/bin/yarn
npm: 10.8.2 - ~/.local/state/fnm_multishells/29847_1740627426112/bin/npm
pnpm: 10.4.1 - ~/Library/pnpm/pnpm
bun: 1.1.37 - ~/.bun/bin/bun
Browsers:
Chrome: 133.0.6943.127
Safari: 18.3
npmPackages:
vue: 3.2.21 => 3.2.21
Used Package Manager
pnpm
Validations
- Follow our Code of Conduct
- Read the Contributing Guidelines.
- Read the docs.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- Make sure this is a VueUse issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to https://github.com/vuejs/core instead.
- Check that this is a concrete bug. For Q&A open a GitHub Discussion.
- The provided reproduction is a minimal reproducible example of the bug.
Metadata
Metadata
Assignees
Labels
Improvements or additions to documentationImprovements or additions to documentation