Commit Graph

21 Commits

Author SHA1 Message Date
Evan You
f43ce3a5d8
fix: invoke component node create hooks before insertion (#7823)
fix #7531
2018-03-23 19:03:17 -04:00
Hanks
661bfe552e feat(weex): partially support lifecycles of virtual component (#7242)
Update the `_init` and `_update` logic to partially support lifecycles.
Add test cases for testing the lifecycle hooks and data update.
2017-12-18 20:58:53 -05:00
Evan You
7e46683470 refactor: simplify internal component creation 2017-11-28 15:10:08 -05:00
Evan You
96472be6f6 types: add types for new features and adjust tests 2017-10-06 17:41:54 -04:00
Evan You
1f9e924971 feat(types): add declaration for inheritAttrs 2017-07-11 22:43:31 +08:00
wenlu.wang
e4da249ab8 feat: add comments option to allow preserving comments in template (#5951)
close #5392
2017-06-30 08:56:23 +08:00
Evan You
26953f5cac add semis to flow decls for better syntax highlighting 2017-05-15 16:01:30 +08:00
Evan You
3b7b597044 cover Symbol for provide/inject typing 2017-02-25 23:19:36 -05:00
Evan You
73c5614740 update types for new features 2017-02-21 22:35:50 -05:00
Evan You
1861ee9570 feat: renderError 2017-02-20 00:16:40 -05:00
Evan You
207c18c47f further reduce normalizeChildren usage 2016-12-05 02:36:40 +01:00
Evan You
9dce7adfa2 Streaming render for weex
fix append mode for keep-alive reactivation

streaming render for weex

fix weex test case

inject __WEEX__ during tests

fix append:tree for iOS

ignore weex branch
2016-11-26 16:04:47 -05:00
Evan You
cb4854a50e [weex] enable extended constructors to use mixins 2016-11-09 21:19:01 -05:00
Herrington Darkholme
2ac581bb7f SSR: eliminate closure in render.js implementation
eliminate closure

fix multiple render instances and memory leakage

fix eslint

magically fix flow typing

add multiple render stream test
2016-11-01 11:14:46 -04:00
松鹤
313ad8f87b fix flow lifecycle method name [Vue@2.x] (#3762)
fix lifecycle method name `init` to `beforeCreate`
2016-09-26 22:54:57 -04:00
Evan You
3ce450b6dc use more proper flow type syntax 2016-07-25 21:28:46 -04:00
Evan You
e6871a33c1 update flow annotations 2016-07-15 17:48:42 -04:00
Evan You
837853d95a better inferring of component names in warnings 2016-05-19 13:58:11 -04:00
Evan You
71a0f3e1ef optimize internal component instantiation 2016-05-14 18:45:54 -04:00
Evan You
7b3ba65f4e declare component options shape 2016-05-14 04:10:48 -04:00
Evan You
45d96c7dbc annotation for vdom (wip) 2016-05-14 03:08:21 -04:00