Evan You
3705b3b46a
fix(ssr): fix hydration error when transition contains comment children
...
fix #5351
2022-05-18 10:03:00 +08:00
Evan You
aed10c5072
fix(ssr): render fallthrough attributes for transition-group with tag
...
fix #5141
2022-05-18 09:55:39 +08:00
Evan You
ee4186ef9e
fix(ssr): fix hydration error on falsy v-if inside transition/keep-alive
...
fix #5352
2022-05-18 09:28:18 +08:00
Evan You
c65b805ef1
fix(compiler-ssr): only inject fallthrough attrs for root transition/keep-alive
2022-05-18 08:37:24 +08:00
Evan You
415091b0ee
fix(compiler-core): should generate HYDRATE_EVENTS flag on dynamic component that resolves to element
...
fix #5870
2022-05-17 16:39:48 +08:00
Evan You
f811dc2b60
fix(compiler-ssr): fix component event handlers inheritance in ssr
...
fix #5664
2022-05-17 15:50:23 +08:00
Evan You
9309b044bd
fix(ssr): fix hydration error for slot outlet inside transition
...
fix #3989
2022-05-12 15:06:32 +08:00
Evan You
436c500d2c
fix(compiler-ssr): no need to inject resolveDirective calls for setup custom directives
2022-02-12 16:29:24 +08:00
Evan You
60cf175d88
feat(ssr): support custom directive getSSRProps in optimized compilation
...
close #5304
2022-02-04 08:58:31 +08:00
Yugang Cao
e603fd258c
chore: fix typo ( #5261 ) [ci skip]
2022-01-21 01:18:34 -05:00
Evan You
55cc4af25e
fix(ssr): remove missing ssr directive transform error
2022-01-16 15:20:56 +08:00
Evan You
1c9a4810fc
fix(compiler): force block for custom dirs and inline beforeUpdate hooks
...
to ensure they are called before children updates
2021-12-10 15:36:10 +08:00
tryag
2ca45dc3e6
chore: fix docs typo ( #4602 ) [ci skip]
2021-09-21 12:49:41 -04:00
Evan You
dd9a2760a8
fix(compiler-ssr): handle v-memo in ssr compilation
2021-09-17 10:23:06 -04:00
webfansplz
0627765b36
chore(types): remove unnecessary type assertions ( #4336 )
2021-08-16 18:19:44 -04:00
skirtle
620a69b871
fix(runtime-dom): consistently remove boolean attributes for falsy values ( #4348 )
2021-08-16 18:18:36 -04:00
webfansplz
9c931d8154
chore(types): remove unnecessary non-null assertion ( #4169 )
2021-07-21 15:50:08 -04:00
Evan You
47f488350c
chore: run updated prettier
2021-07-19 18:24:18 -04:00
HcySunYang
ceff89905b
perf: improve VNode creation performance with compiler hints ( #3334 )
2021-07-16 14:30:49 -04:00
Evan You
9f6f8b35c1
fix(compiler-ssr): fix attr fallthrough for transition/keep-alive as template root
...
fix #3981
2021-06-22 14:19:14 -04:00
Evan You
3ef1fcc859
fix(compiler-ssr): disable hoisting in compiler-ssr
...
fix #3536
2021-05-24 16:48:31 -04:00
Evan You
e130c7db23
wip: compiler deprecation config
2021-04-12 19:43:53 -04:00
HcySunYang
7715c49af9
fix(compiler-core): avoid generating useless createVNode helper ( #2938 )
...
close #2739
2021-03-25 17:01:50 -04:00
HcySunYang
49f4072c83
fix(compiler-ssr): keep the order of imports expression for the fallback branch of SSR ( #3448 )
...
fix #3447
2021-03-25 11:10:25 -04:00
Evan You
02cbbb718c
perf: support only attaching slot scope ids when necessary
...
This is done by adding the `slotted: false` option to:
- compiler-dom
- compiler-ssr
- compiler-sfc (forwarded to template compiler)
At runtime, only slotted component will render slot fragments with
slot scope Ids. For SSR, only slotted component will add slot scope Ids
to rendered slot content. This should improve both runtime performance
and reduce SSR rendered markup size.
Note: requires SFC tooling (e.g. `vue-loader` and `vite`) to pass on
the `slotted` option from the SFC descriptoer to the `compileTemplate`
call.
2021-03-05 18:28:12 -05:00
Evan You
aea88c3280
refactor: fix implementation of SFC :slotted id handling
...
fix #2892
2021-03-05 18:28:12 -05:00
lidlanca
012dc5a303
fix(compiler-ssr) ensure that ssrHelpers are unique after merge from parent context ( #3269 )
...
fix #3268
2021-02-25 18:25:39 -05:00
Evan You
c69f4ea857
fix(compiler-ssr): avoid duplicated asset imports merged from component slot client branch
...
fix vitejs/vite#2034
2021-02-15 12:12:50 -05:00
Evan You
fe5428db12
fix(compiler-ssr): handle v-model checkbox with true-value binding
2020-12-01 12:43:59 -05:00
Evan You
5b6266284d
fix(compiler-ssr): should not render key/ref bindings in ssr
2020-11-27 12:37:26 -05:00
Evan You
a5d6f8091e
fix(compiler-ssr): generate correct children for transition-group
...
fix #2510
2020-11-27 12:22:14 -05:00
Evan You
cdc9f336fd
wip: new cssVars SSR integration + fix cssVars SSR injection for suspense
2020-11-17 18:54:47 -05:00
Mathieu TUDISCO
8539c0bf32
fix(compiler-ssr): fix SSR issue when dynamic and static class co-exist ( #2354 )
2020-10-13 16:25:15 -04:00
HcySunYang
aa8dc9a507
fix(compiler-ssr): correct the variable name generated by the generator ( #2065 )
2020-09-15 10:00:14 -04:00
HcySunYang
7455dca11c
fix(compiler-ssr/teleport): correct the target prop of teleport ( #2053 )
2020-09-15 09:59:36 -04:00
Sohaib Alam
6136cf874e
chore: fix error message ( #1602 )
...
make the error message in `compiler-dom` and `compiler-ssr` a bit
cleaner and fix grammar
2020-07-16 13:36:16 -04:00
Evan You
576344d2c3
refactor(compiler): extract isStaticExp util
2020-07-13 16:48:24 -04:00
Evan You
b9595e64cf
feat: ssr support for <style vars>
2020-07-12 18:04:09 -04:00
Felix Rilling
829b35e426
chore: typo fixes ( #1546 )
...
* chore: fix typos in comments/JSDoc.
* chore: fix typo in internal function name.
* chore: fix typos in test comments/descriptions/variable names.
2020-07-08 12:32:42 +02:00
Evan You
41db49dfb7
fix(ssr): support dynamic components that resolve to element or vnode
...
fix #1508
2020-07-06 21:23:35 -04:00
Evan You
d5dbd27193
fix(ssr): handle fallthrough attrs in ssr compile output
2020-06-26 16:55:37 -04:00
Evan You
6c60ce13e0
fix(compiler-ssr): handle comments codegen + refactor ssr codegen transform
2020-05-01 17:04:36 -04:00
HiiTea
22717772dd
chore: fix typos ( #1090 )
2020-05-01 09:42:58 -04:00
Evan You
08b4e8815d
fix(compiler-ssr): avoid unnecessary withCtx import
2020-04-29 16:21:54 -04:00
Evan You
eee5095692
refactor: rename <portal>
to <teleport>
...
BREAKING CHANGE: `<portal>` has been renamed to `<teleport>`.
`target` prop is also renmaed to `to`, so the new usage will be:
```html
<Teleport to="#modal-layer" :disabled="isMobile">
<div class="modal">
hello
</div>
</Teleport>
```
The primary reason for the renaming is to avoid potential naming
conflict with [native portals](https://wicg.github.io/portals/ ).
2020-04-01 21:55:19 -04:00
Evan You
9ed9bf3687
feat(portal): SSR support for portal disabled prop
2020-03-30 11:24:29 -04:00
Evan You
e866434f0c
feat(portal): SSR support for multi portal shared target
2020-03-27 20:49:01 -04:00
Evan You
a46f3b354d
fix(compiler-ssr): should pass necessary tag names for dynamic v-bind
2020-03-16 18:24:26 -04:00
Evan You
3b40fc56db
fix(compiler-ssr): fix input w/ v-bind="obj" codegen
2020-03-16 18:14:49 -04:00
Evan You
38f0269765
refactor: simplify suspense ssr + adjust behavior
2020-03-16 15:38:35 -04:00