-
-
Notifications
You must be signed in to change notification settings - Fork 8.7k
fix(runtime-core): comments before single root element breaking Transition #6238
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
base: main
Are you sure you want to change the base?
Conversation
❌ Deploy Preview for vuejs-coverage failed.
|
Thanks for your PR, but I think the #7387 way is better because the code it adds can be removed in production mode. |
@zhangzhonghe Thanks for your reply. Will it make differentiation in development mode and production mode? |
User-defined comments are removed by the build tool in production mode. core/packages/shared/src/patchFlags.ts Lines 95 to 100 in 50f1327
|
@zhangzhonghe Yes, the comments will be removed in production mode. I mean will this problem occur in development mode? I can reproduce it in playground in development mode.😂 |
I am trying to express my perspective more clearly:
// The following block of code can be removed in production mode
if (__DEV__) {
// fix bug
} |
@zhangzhonghe I'm not sure if I'm on the right way. The code seems to have many overlaps, hope to get your guidance. |
This PR seems to be the proper fix. Could you please resolve the conflicts? |
Size ReportBundles
Usages
|
@vue/compiler-core
@vue/compiler-dom
@vue/compiler-sfc
@vue/compiler-ssr
@vue/reactivity
@vue/runtime-core
@vue/runtime-dom
@vue/server-renderer
@vue/shared
@vue/compat
vue
commit: |
/ecosystem-ci run |
📝 Ran ecosystem CI: Open
|
fix #6080.
The testing html