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

export the effect function as well from entrypoint #185

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jaredcwhite
Copy link

As the petite-vue distribution can't be used alongside a separate installation of @vue/reactivity, it would be helpful to gain access to the effect function via an export. Since effect is already being used internally, it doesn't increase bundle output, and effect can come in handy when using global reactive state outside of a scope.

@dschissler
Copy link

I've found that the effect function not being available makes it impossible to use Petite Vue as a driver of a generally usable custom element. It's a shame.

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

Successfully merging this pull request may close these issues.

3 participants