antfu / reactivue

🙊 Use Vue Composition API in React components

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pinia integration not working: effectScope not found in 'vue-demi'

andrei-gheorghiu opened this issue · comments

Trying to integrate in the following setup:

   dependencies: {
     "pinia": "^2.0.12",
     "react": "^18.0.0",
     "reactivue": "^0.4.4",
   }

(which, at the point of posting is latest stable from each).

Getting the following ERROR in ./node_modules/pinia/dist/pinia.esm-browser.js 991:16-27:

export 'effectScope' (imported as 'effectScope') was not found in 'vue-demi'

I know it's coming from pinia but thought I'd ask here first, in case others might have run into it.


On the same note, it would be good if you posted an example, to know in which version combos this works.

Thanks.

effectScope support is available in beta version. Check #48 for more details.