Closed stellR42 closed 2 years ago
@stellR42 Thank you for reporting.
That's what I expect. Please use vue-window-size v0 when using with vue v2. The version is down, but v0 is more optimized for vue v2. If you are using the Composition API, please use v1.0.x. https://github.com/mya-ake/vue-window-size#for-vue-v2
FYI: With the release of v1.1.0, I removed a dependency vue-demi that allows both v2 and v3 to work. I removed vue-demi because I decided it was adding complexity to the dependencies. (#325)
v1.1.0 or later is not available in vue v2, so I updated the documentation.
Getting
Uncaught TypeError: i.reactive is not a function
when using with Vue 2.6 and @vue/composition-api. Downgrading to version 1.0.2 removes the error. Reproduction link: https://codesandbox.io/s/naughty-ptolemy-x7bph?file=/src/App.vue