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
f529dbde23
fix: dynamic component fallback to native element
...
fix #870
2020-03-23 14:47:04 -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
Evan You
4dc8ffc378
fix: simplify and use correct ctx in withCtx
2020-03-16 13:06:46 -04:00
Evan You
fd3418d79d
chore: fix snapshot
2020-03-16 13:06:46 -04:00
Evan You
ecd7ce60d5
feat(compiler-core): wrap slot functions with render context
2020-03-16 13:06:46 -04:00
Evan You
a05d41c940
refactor(ssr): adjust ssr fragment anchor content
2020-03-13 13:05:05 -04:00
Evan You
a3cc970030
feat(ssr/suspense): suspense hydration
...
In order to support hydration of async components, server-rendered
fragments must be explicitly marked with comment nodes.
2020-03-13 13:05:05 -04:00
Evan You
80c625dce3
feat(ssr): compiler-ssr support for Suspense
2020-03-10 16:52:31 -04:00
Evan You
3be3785f94
fix(ssr): fix ssr on-the-fly compilation + slot fallback branch helper injection
2020-03-06 14:52:15 -05:00
Evan You
11d2fb2594
refactor(fragments): remove visible anchors for fragments
2020-02-26 16:32:06 -05:00
Dmitry Sharshakov
d8ed0e7fbf
feat(compiler-ssr): compile portal ( #775 )
2020-02-26 14:59:53 -05:00
Evan You
1b9b235663
fix(compiler-dom): properly stringify class/style bindings when hoisting static strings
2020-02-21 13:10:13 +01:00
Evan You
a0163f1aa8
chore: fix snapshots
2020-02-15 11:10:52 -05:00
Evan You
688ad92391
fix(ssr): fix class/style rendering + ssrRenderComponent export name
2020-02-14 20:48:06 -05:00
Evan You
1389d7b88c
refactor(compiler-core): use more concise marker for compiled slots
2020-02-12 13:45:35 -05:00
Evan You
e861c6da90
test: test updates for d40c642
2020-02-11 18:40:42 -05:00
Evan You
12fcf9ab95
fix(compiler): fix v-for fragment openBlock argument
2020-02-10 18:19:49 -05:00
djy0
42db2fef9d
test(compiler-ssr): fix typo ( #713 )
2020-02-10 09:20:07 -05:00
Evan You
8b2d6a35d0
test: update tests and snapshots for helper prefixing
2020-02-07 19:04:55 -05:00
Evan You
a51e710396
wip(ssr): proper scope analysis for ssr vnode slot fallback
2020-02-07 13:56:18 -05:00
Evan You
b7a74d0439
wip(ssr): ssr slot vnode fallback
2020-02-07 01:06:51 -05:00
Evan You
4659c366e0
wip(ssr): generate correct component code
2020-02-06 18:03:14 -05:00
Evan You
7984a135ca
wip(ssr): scopeId in slots
2020-02-06 17:45:46 -05:00
Evan You
3c27bf6133
wip(compiler-ssr): built-in component fallthrough
2020-02-06 17:45:46 -05:00
Evan You
ae8fc9297d
test: update snapshots
2020-02-06 12:09:09 -05:00
Evan You
f3e70b3733
wip(compiler-ssr): component slots
2020-02-06 12:05:53 -05:00
Evan You
ee5ed73361
wip(ssr): basic components
2020-02-05 23:07:23 -05:00
Evan You
9b3b6962df
wip(srr): slot outlet
2020-02-05 21:04:40 -05:00
Evan You
201f18b58b
wip(ssr): v-model w/ dynamic type & props
2020-02-05 17:01:00 -05:00
Evan You
c952321fcf
wip(compiler-ssr): v-model static types + textarea
2020-02-05 14:23:03 -05:00
Evan You
8f6b6690a2
fix(compiler-ssr): import helpers from correct packages
2020-02-05 11:20:50 -05:00
Evan You
8da6df7235
wip(ssr): handle <textarea>
with dynamic key v-bind
2020-02-04 22:49:47 -05:00
Evan You
1958314976
wip(compiler-ssr): v-show
2020-02-04 21:03:16 -05:00
Evan You
ebf920e6af
wip(compiler-ssr): dynamic v-bind + class/style merging
2020-02-04 18:37:32 -05:00
Evan You
c059fc88b9
wip(compiler-ssr): v-bind with static keys
2020-02-04 16:47:12 -05:00
Evan You
6a5ed49ea9
wip(ssr): v-bind basic usage
2020-02-04 12:21:04 -05:00
Evan You
8cf6b5731d
test(compiler-ssr): v-for tests
2020-02-03 20:47:41 -05:00
Evan You
b685805a26
wip(ssr): ssr helper codegen
2020-02-03 18:31:10 -05:00
Evan You
e8c5de6cfd
wip(compiler-ssr): v-if
2020-02-03 18:31:10 -05:00
Evan You
090eb0ce67
wip(compiler-ssr): v-html, v-text & textarea value
2020-02-03 18:31:10 -05:00
Evan You
63e4486645
wip(compiler-ssr): text and interpolation
2020-02-02 22:28:54 -05:00
Evan You
d1eed36452
refactor(ssr): move escapeHtml to shared
2020-02-02 22:08:20 -05:00
Evan You
327670a034
test(compiler-ssr): test for ssr element transform
2020-02-02 21:47:10 -05:00