Skip to content

export the effect function as well from entrypoint - #185

Open
jaredcwhite wants to merge 1 commit into
vuejs:mainfrom
jaredcwhite:export-effect
Open

export the effect function as well from entrypoint#185
jaredcwhite wants to merge 1 commit into
vuejs:mainfrom
jaredcwhite:export-effect

Conversation

@jaredcwhite

Copy link
Copy Markdown

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
Copy Markdown

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