Evan You
2ad0eed5cd
refactor(ssr): adjust helper structure + renderList
2020-02-03 18:31:11 -05:00
Evan You
889a0276eb
wip(ssr): do not generate commas between statements
2020-02-03 18:31:11 -05:00
Evan You
b685805a26
wip(ssr): ssr helper codegen
2020-02-03 18:31:10 -05:00
Evan You
d1d81cf1f9
chore: remove stale files
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
dependabot-preview[bot]
b59524e036
build(deps-dev): bump @rollup/plugin-replace from 2.3.0 to 2.3.1
...
Bumps [@rollup/plugin-replace](https://github.com/rollup/plugins ) from 2.3.0 to 2.3.1.
- [Release notes](https://github.com/rollup/plugins/releases )
- [Commits](https://github.com/rollup/plugins/compare/replace-v2.3.0...replace-v2.3.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-03 08:47:51 +00:00
dependabot-preview[bot]
a54b0b7b77
build(deps-dev): bump @rollup/plugin-json from 4.0.1 to 4.0.2
...
Bumps [@rollup/plugin-json](https://github.com/rollup/plugins ) from 4.0.1 to 4.0.2.
- [Release notes](https://github.com/rollup/plugins/releases )
- [Commits](https://github.com/rollup/plugins/compare/url-v4.0.1...url-v4.0.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-03 08:43:05 +00: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
Evan You
8fd9e9ba97
test(compiler-core): test TempalteLiteral and IfStatement codegen
2020-02-02 21:35:44 -05:00
Evan You
5dc374a861
chore: remove stale file
2020-02-02 00:06:49 -05:00
Evan You
efbbd19b3d
wip(ssr): initial scaffold for compiler-ssr
2020-02-02 00:05:27 -05:00
Evan You
34e61197c7
refactor(compiler-core): improve template type handling
2020-01-31 17:20:52 -05:00
Evan You
78c4f321cd
fix(compiler-core): only check is prop on <component>
2020-01-31 16:15:05 -05:00
Evan You
74cb207c22
chore: use correct import path for vCloak
2020-01-31 11:16:51 -05:00
Evan You
bd9b690a51
chore: rmeove unused export
2020-01-31 11:07:10 -05:00
Evan You
f503167fb7
test: fix snapshots
2020-01-31 11:06:37 -05:00
Evan You
04da2a82e8
feat(compiler-core): support mode: cjs in codegen
2020-01-31 10:01:33 -05:00
Evan You
87e8c8094f
workflow: add version of template-explorer using local deps
2020-01-31 10:01:33 -05:00
dependabot-preview[bot]
3604376bb4
build(deps-dev): bump rollup from 1.30.1 to 1.31.0
...
Bumps [rollup](https://github.com/rollup/rollup ) from 1.30.1 to 1.31.0.
- [Release notes](https://github.com/rollup/rollup/releases )
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rollup/rollup/compare/v1.30.1...v1.31.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-31 14:47:48 +00:00
Gabriel Loiácono
c088169170
style(compiler-core): while/expression instead of while/true ( #680 )
2020-01-31 09:43:34 -05:00
Evan You
c02e7bc7d6
wip(ssr): should apply app context when rendering app instance
2020-01-30 12:20:23 -05:00
Evan You
5c2fe536dc
refactor(ssr): adjust renderToString implementation
2020-01-30 12:09:50 -05:00
Evan You
842b368097
chore: use more representative size check code
2020-01-30 12:03:38 -05:00
Evan You
94e80cf6d1
test(ssr): test scopeId handling in vdom serialization
2020-01-29 21:13:34 -05:00
Evan You
9cf4518936
chore: fix test alias for vue
2020-01-29 18:03:42 -05:00
Evan You
eaf414f063
test(ssr): test rendering vnode elements
2020-01-29 17:36:06 -05:00
Evan You
8cdaf28515
test(ssr): test for rendering components
2020-01-29 16:46:18 -05:00
Evan You
6e06810add
test(ssr): tests for utils and props rendering
2020-01-29 15:10:45 -05:00
Evan You
730d329f79
fix(compiler-core): relax error on unknown entities
...
close #663
2020-01-29 12:16:58 -05:00
Evan You
93eba4347d
chore: fix template explorer mounting
2020-01-29 11:28:18 -05:00
Evan You
bc07e95ca8
fix(ssr): avoid hard-coded ssr checks in cjs builds
2020-01-29 09:49:17 -05:00
Evan You
6b1ce00621
wip(ssr): renderer support for optimized and manual slots
2020-01-28 22:58:02 -05:00
Evan You
a7b0954f14
wip(ssr): move ssr only utils to conditional export
2020-01-28 22:14:43 -05:00
Evan You
e6e2c58234
fix(runtime-dom/ssr): properly handle xlink and boolean attributes
2020-01-28 22:03:53 -05:00
Evan You
6f43c4b516
wip(ssr): vdom serialization
2020-01-28 18:48:27 -05:00
Evan You
8857b4f288
wip(ssr): improve buffer typing
2020-01-28 10:46:13 -05:00
Evan You
78beed2574
build: support source map in build and dev scripts
2020-01-28 10:28:48 -05:00
dependabot-preview[bot]
827fd05644
build(deps-dev): bump @microsoft/api-extractor from 7.7.7 to 7.7.8
...
Bumps [@microsoft/api-extractor](https://github.com/microsoft/rushstack ) from 7.7.7 to 7.7.8.
- [Release notes](https://github.com/microsoft/rushstack/releases )
- [Commits](https://github.com/microsoft/rushstack/compare/@microsoft/api-extractor_v7.7.7...@microsoft/api-extractor_v7.7.8 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-28 07:27:43 +00:00
dependabot-preview[bot]
46f1146b91
build(deps-dev): bump puppeteer from 2.0.0 to 2.1.0
...
Bumps [puppeteer](https://github.com/puppeteer/puppeteer ) from 2.0.0 to 2.1.0.
- [Release notes](https://github.com/puppeteer/puppeteer/releases )
- [Commits](https://github.com/puppeteer/puppeteer/compare/v2.0.0...v2.1.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-28 07:25:24 +00:00
dependabot-preview[bot]
0c0f4d9c4a
build(deps-dev): bump rollup from 1.30.0 to 1.30.1
...
Bumps [rollup](https://github.com/rollup/rollup ) from 1.30.0 to 1.30.1.
- [Release notes](https://github.com/rollup/rollup/releases )
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rollup/rollup/compare/v1.30.0...v1.30.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-28 07:24:46 +00:00
Evan You
f4d190cc9c
wip(ssr): further restructure
2020-01-27 18:06:37 -05:00
Evan You
27fbfbdb8b
fix(runtime-core): render context set should not unwrap reactive values
2020-01-27 18:05:30 -05:00
Evan You
012bc5df9d
wip(ssr): restructure
2020-01-27 17:23:42 -05:00
Evan You
d293876c34
release: v3.0.0-alpha.4
2020-01-27 16:20:00 -05:00
Evan You
ccc3312113
chore: add compiler-ssr to skipped packages for now
2020-01-27 16:00:19 -05:00
Evan You
6b10f0cd1d
refactor: remove implicit reactive() call on renderContext
...
reference: https://github.com/vuejs/rfcs/issues/121
BREAKING CHANGE: object returned from `setup()` are no longer implicitly
passed to `reactive()`.
The renderContext is the object returned by `setup()` (or a new object
if no setup() is present). Before this change, it was implicitly passed
to `reactive()` for ref unwrapping. But this has the side effect of
unnecessary deep reactive conversion on properties that should not be
made reactive (e.g. computed return values and injected non-reactive
objects), and can lead to performance issues.
This change removes the `reactive()` call and instead performs a
shallow ref unwrapping at the render proxy level. The breaking part is
when the user returns an object with a plain property from `setup()`,
e.g. `return { count: 0 }`, this property will no longer trigger
updates when mutated by a in-template event handler. Instead, explicit
refs are required.
This also means that any objects not explicitly made reactive in
`setup()` will remain non-reactive. This can be desirable when
exposing heavy external stateful objects on `this`.
2020-01-27 16:00:18 -05:00
Evan You
763faac182
wip(ssr): revert reactivity ssr paths
...
The perf gains are not worth the correctness issues these paths may lead to
2020-01-27 16:00:18 -05:00