-
-
Notifications
You must be signed in to change notification settings - Fork 7.1k
chore: replace vue/babel-jsx with vue-jsx-vapor #22483
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: next
Are you sure you want to change the base?
Conversation
|
Oh, Maybe i should convert LogicalExpression to ConditionExpression. |
|
vuejs/vue-jsx-vapor@0f48e4c#diff-8ffcde0cce9ebaa70dfe58c84117c47ef6da11b6af147a2efd5285e7d57bd884 LogicalExpression |
|
Nice, tyvm. I think you made a mistake with |
|
Now, all of LogicalExpression has been cached, for render number 0 and prevent capture ref twice. |
|
Lots of reactivity bugs again :( |
|
if user using map expression then i can't collect items to detected whether children slots is dynamic and whether should cached events. |
|
v3.1.9 released. if you want mark slots as stable, use |
blocked by vuejs/vue-jsx-vapor#29
This looks like a lot but it's mostly two style changes:
foo && <div />->foo ? <div /> : undefinedfoo &&returns false when not met, which isn't handled by vue's optimised pathslots.foo?.() ?? fallback->renderSlot(slots.foo, () => fallback)slots.foo?.()isnormalizeVNode(slots.foo?.()), normalize is skipped with??slots.foo ? <div>{ slots.foo() }</div> : fallbackso that isn't fully fixed yet