JiZhi
f838715b7c
test(runtime-core): add tests for scheduler ( #462 )
2019-11-16 16:32:06 -05:00
张晨成
f2cdc82be3
chore: fix typo ( #439 )
2019-11-08 22:41:55 -05:00
Evan You
c61e5463fa
feat: warn duplicate plugin installations
2019-11-05 10:49:15 -05:00
Evan You
dfc7c0f12a
refactor: adjust internal vnode types + more dts tests
2019-11-04 18:38:55 -05:00
Evan You
957d3a0547
refactor: portal should not expect ref target
2019-11-04 14:42:47 -05:00
sh7dm
1a361e2e71
test(createRenderer): add tests for portal and fix found bugs
2019-11-04 14:37:50 -05:00
Evan You
300a705221
refactor: use __TEST__ flag
2019-11-04 14:28:01 -05:00
Evan You
90b9884eb4
refactor: rename/re-organize files
2019-11-02 12:18:35 -04:00
Evan You
7b7b8ef221
types: improve h inference + infer required props without need for as const
2019-11-01 17:06:19 -04:00
Evan You
3a6dcd3aba
types: improve h() and TSX type inference
...
- Should allow extraneous props as attrs in TSX
- Should check props when using constructor type returned by
createComponent() in h()
2019-10-31 12:43:05 -04:00
Evan You
4631f5323b
test: more tests for keep-alive
2019-10-30 23:32:29 -04:00
Evan You
5fcb81050a
test: tests for keep-alive
2019-10-30 21:41:28 -04:00
Evan You
a42d165285
chore: rename
2019-10-30 15:43:12 -04:00
Evan You
c6cbca25fe
feat(core): keep-alive
2019-10-29 22:28:38 -04:00
Dmitry Sharshakov
5cce23f4c6
feat(apiApp): add more warnings ( #394 )
2019-10-28 16:22:03 -04:00
Dmitry Sharshakov
325e15ef41
feat(createRenderer): handle errors in function refs ( #403 )
2019-10-28 12:03:30 -04:00
Evan You
b788c03992
test: fix context.attrs test case
2019-10-26 10:31:36 -04:00
Evan You
b3282028bb
chore: remove it.only
2019-10-26 10:27:49 -04:00
Evan You
8edfbf9df9
feat(core): adjust attrs fallthrough behavior
2019-10-25 12:12:17 -04:00
likui
532b5eebd7
feat(runtime-core): support array in watch option ( #376 )
2019-10-25 10:25:52 -04:00
Dmitry Sharshakov
3b613cbecd
test(template-refs): add tests for function refs ( #359 )
2019-10-23 11:54:50 -04:00
Cr
a23e03f01e
feat(apiOptions): add warning for duplicated properties declared by options ( #329 )
2019-10-21 23:47:16 -04:00
Evan You
e98a85f3cb
refactor: applyDirectives -> withDirectives
2019-10-18 16:35:01 -04:00
Dmitry Sharshakov
2238925fbe
feat(core): validate directives names ( #326 )
2019-10-18 12:34:45 -04:00
宋铄运
7f23eaf661
feat(core): support dynamic component via <component :is> ( #320 )
2019-10-18 12:09:04 -04:00
Dmitry Sharshakov
0bac763f5a
feat(directives): add support for function directives ( #252 )
2019-10-16 02:12:26 -04:00
Evan You
65a0207c7b
test: test runtime compilation error warning
2019-10-15 22:19:19 -04:00
Adam Lewkowicz
555e3be69d
types(watch): allow readonly arrays for watching multiple sources ( #281 )
2019-10-15 16:44:14 -04:00
月迷津渡
66023a8886
feat: runtime component name validation ( #217 )
2019-10-14 15:36:29 -04:00
Dmitry Sharshakov
fd209f5a66
feat(core): export version ( #254 )
2019-10-14 15:31:43 -04:00
Evan You
37cbd0098d
chore: lint + include tsx files for lint
2019-10-14 15:07:43 -04:00
Evan You
6b3ad95fa4
fix(watch): type inference for computed refs
2019-10-14 12:15:09 -04:00
Cr
6bd26636c3
test: add test for resolveAsset ( #273 )
2019-10-14 11:56:02 -04:00
Cr
d2bcedb213
feat(apiOptions): warn invalid computed options ( #225 )
2019-10-14 02:15:31 -04:00
Cr
64c7be3763
chore: remove redundant type cast ( #230 )
2019-10-12 10:46:10 -04:00
Leonardo Piccioni de Almeida
a371b2ec0e
chore: fix typo ( #216 )
2019-10-11 15:09:57 -04:00
Evan You
5f28708cb9
test(vnode): tests for shapeFlag and cloneVNode
2019-10-11 11:48:20 -04:00
Evan You
e57d686b9a
test(vnode): tests for normlaizeVNode
2019-10-11 11:41:28 -04:00
Cr
3cdefdbe2d
test: add array of objects class test case for mergeProps ( #201 )
2019-10-11 10:13:04 -04:00
terencez
d10b28ae0e
refactor(runtime-core): make h() support single vnode child ( #181 )
2019-10-10 10:17:16 -04:00
Cr
211f5b7a45
test: add more complete test for componentProxy ( #174 )
2019-10-10 10:02:55 -04:00
Tim van den Eijnden
0177355242
fix: add warnings ( #82 )
...
* fix: add warnings
- invalid watch handler path
- attempting to mutate readonly computed value
- attempt of mutating public property
- attempt of mutating prop
* fix: more descriptive warnings + details
* fix: test apiOptions warnings
* fix: update warning in componentProxy
* fix: update warnings in componentProxy & apiOptions
* fix: update warning in componentProxy
* fix: implemented tests for componentProxy
* fix: remove comment + small refactor
2019-10-09 14:03:21 -04:00
Tim van den Eijnden
b107401e71
test(vnode): partial tests for vnode creation ( #116 )
2019-10-09 10:28:43 -04:00
Kyle Hall
fd1d7833e2
test(runtime-core): createSlots method ( #119 )
2019-10-06 20:19:44 -04:00
Jordan Pittman
a8c82909fa
test: Add tests for some runtime helpers ( #87 )
...
* test for `renderList`
* test for `toHandlers`
2019-10-05 23:22:42 -04:00
Carlos Rodrigues
8133b3867a
test: improve tests and typing for runtime-core ( #100 )
...
* test: add test case for declaring Array prop type with constructor casting in `createComponent`
* test: add test case for `setup(props)` with explicit props declaration
2019-10-05 15:37:55 -04:00
Vladimir
f48a2ffc76
chore: fix typos ( #103 )
2019-10-05 10:48:54 -04:00
Evan You
9c9dd73017
chore: fix outdated patchFlag
2019-10-02 10:59:47 -04:00
Evan You
4fc963bc5a
feat(compiler): annotate patchFlags in generated code
2019-10-01 17:53:57 -04:00
Evan You
d67418002f
feat(compiler): generate patchFlags for runtime
2019-09-30 21:17:12 -04:00