-
-
Notifications
You must be signed in to change notification settings - Fork 121
fix(jsx-directive): use <Fragment> instead of <> to support key #954
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
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
/** | ||
* https://github.com/vuejs/babel-plugin-jsx/blob/main/packages/babel-plugin-jsx/src/utils.ts#L37 | ||
* | ||
* Because the __MACROS_Fragment tag is a component in vue-jsx, the children will be treated as a slot, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure whether we should add a importFragmentHelperFn for v-for.
REPL
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It should be resolved in vue-jsx, waiting the vuejs/babel-plugin-jsx#762 to merge.
@vue-macros/api
@vue-macros/astro
@vue-macros/boolean-prop
@vue-macros/better-define
@vue-macros/chain-call
@vue-macros/common
@vue-macros/config
@vue-macros/define-emit
@vue-macros/define-models
unplugin-vue-define-options
@vue-macros/define-prop
@vue-macros/define-props
@vue-macros/define-props-refs
@vue-macros/define-render
@vue-macros/define-slots
@vue-macros/define-stylex
@vue-macros/devtools
@vue-macros/eslint-config
@vue-macros/export-expose
@vue-macros/export-props
@vue-macros/export-render
@vue-macros/hoist-static
@vue-macros/jsx-directive
vue-macros
@vue-macros/named-template
@vue-macros/nuxt
@vue-macros/reactivity-transform
@vue-macros/script-lang
@vue-macros/setup-block
@vue-macros/setup-component
@vue-macros/setup-sfc
@vue-macros/short-bind
@vue-macros/short-emits
@vue-macros/short-vmodel
@vue-macros/test-utils
@vue-macros/volar
commit: |
Description
Before
Before
Linked Issues
Additional context