Evan You
b8c1be18f3
refactor(types): use stricter settings
...
fix #847
2020-03-23 11:08:22 -04:00
Evan You
206640a2d8
fix(build): remove __RUNTIME_COMPILE__ flag
...
behavior should be consistent in all builds. fix #817
2020-03-11 16:39:26 -04:00
Evan You
80904e92b8
types: cleanup renderer & hydration typing
2020-02-14 12:33:32 -05:00
Evan You
167f8241bd
refactor(ssr): make hydration logic tree-shakeable
2020-02-14 01:30:08 -05:00
Evan You
42d80b5888
wip(ssr): component hydration
2020-02-13 23:31:03 -05:00
Evan You
6b505dcd23
wip(ssr): basic element hydration
2020-02-13 17:47:00 -05:00
Evan You
da25517377
wip(ssr): initial work on server-renderer
2020-01-27 16:00:17 -05:00
Evan You
c07751fd36
refactor: adjust createApp
related API signatures
...
BREAKING CHANGE: `createApp` API has been adjusted.
- `createApp()` now accepts the root component, and optionally a props
object to pass to the root component.
- `app.mount()` now accepts a single argument (the root container)
- `app.unmount()` no longer requires arguments.
New behavior looks like the following:
``` js
const app = createApp(RootComponent)
app.mount('#app')
app.unmount()
```
2020-01-27 16:00:17 -05:00
likui
04ac6c467a
feat(runtime-core): support app.unmount(container) ( #601 )
...
close #593
2020-01-16 12:23:47 -05:00
Evan You
800b0f0e7a
feat(transition): TransitionGroup
2019-11-28 18:41:01 -05:00
likui
00857ac816
feat(core): support v-show directive ( #310 )
2019-11-24 22:04:26 -05:00
Evan You
a834807942
refactor: rename transition components
2019-11-24 16:00:46 -05:00
Evan You
1b8236615e
feat(transition): handle persisted mode
2019-11-22 23:21:53 -05:00
Evan You
24b4120c21
types: fix dts
2019-11-22 18:09:26 -05:00
Evan You
7859e4bce3
feat(transition): CSS transition for runtime-dom
2019-11-22 15:35:41 -05:00
Evan You
d7eab51315
refactor: move dom tag config to shared
...
Otherwise runtime-dom cjs & esm builds will import compiler-dom
2019-11-06 15:22:46 -05:00
Evan You
5eee1152ca
types: (wip) improve dts output
2019-11-01 11:32:53 -04:00
Evan You
6a92bbd9c0
feat(runtime-dom): support using mount target innerHTML as template
2019-10-24 21:58:34 -04:00
Evan You
bb85aefc03
chore: move dom element config to compiler-dom
2019-10-21 16:25:16 -04:00
Evan You
cba34453db
refactor(v-on): avoid empty modifier guard with only key modifier
2019-10-18 16:20:45 -04:00
月迷津渡
66023a8886
feat: runtime component name validation ( #217 )
2019-10-14 15:36:29 -04:00
宋铄运
57a94b530d
feat(dom): transform + runtime for v-on ( #213 )
2019-10-14 00:33:23 -04:00
Evan You
d376439167
wip(compiler-dom): v-model runtime
2019-10-10 18:02:51 -04:00
Evan You
3904678306
types: use stricter HostNode typings
2019-09-06 16:58:32 -04:00
Evan You
32713f8fce
feat: createApp / appContext
2019-09-02 16:09:34 -04:00
Evan You
aacad85058
test: fix reactivity tests
2019-08-20 09:58:10 -04:00
Evan You
645c1eceea
wip: update test runtime
2019-06-20 21:28:37 +08:00
Evan You
b3f8b5ae0a
wip: add types to refactored runtime-core
2019-05-26 15:19:44 +08:00
Evan You
360a10fff2
refactor: drop event delegation and use simple async edge case fix
2019-01-22 16:03:37 -05:00
Evan You
d70b7d6dd5
wip: error handling and nextTick for time slicing
2018-11-03 06:31:31 +09:00
Evan You
e6be55a498
chore: relax render type for tsx
2018-11-03 05:59:45 +09:00
Evan You
e05673f4d3
refactor: rename packages
2018-10-26 15:44:50 -04:00
Evan You
d1bc6ee8d6
chore: setup all packages
2018-09-19 12:26:50 -04:00
Evan You
3401f6b460
init (graduate from prototype)
2018-09-19 11:35:38 -04:00