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

fix(compiler-sfc): should not treat the reactive call as setup-const #2979

Closed
wants to merge 1 commit into from
Closed

fix(compiler-sfc): should not treat the reactive call as setup-const #2979

wants to merge 1 commit into from

Conversation

HcySunYang
Copy link
Member

close: #2972
I see that it is intentional to treat const obj = reactive({}) as setup-const. Why? In this PR, a new binding type setup-reactive is introduced for future optimization.

@HcySunYang
Copy link
Member Author

Due to 03360ce

@HcySunYang HcySunYang closed this Feb 12, 2021
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.

script setup: Compiler creates wrong patch flags depending on style of variable assignment.
1 participant