Skip to content
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

Vue 2.7 does not expose proxyRefs #12600

Closed
vmihailenco opened this issue Jul 2, 2022 · 0 comments
Closed

Vue 2.7 does not expose proxyRefs #12600

vmihailenco opened this issue Jul 2, 2022 · 0 comments

Comments

@vmihailenco
Copy link

Version

2.7.0

Reproduction link

github.com

Steps to reproduce

With composition-api, you could import proxyRefs and use it as a simpler replacement for reactive/shallowReactive to avoid various reactivity issues/limitations or just plain bugs in composition API. Can we get access to proxyRefs in Vue 2.7?

// Does not work
import { proxyRefs } from 'vue'

// Works
import { proxyRefs } from '@vue/composition-api'

What is expected?

Vue 2 exploses proxyRefs

What is actually happening?

Module '"vue"' has no exported member 'proxyRefs'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant