Commit Graph

47 Commits

Author SHA1 Message Date
Evan You da25517377 wip(ssr): initial work on server-renderer 2020-01-27 16:00:17 -05:00
Evan You bb6a346996 fix(runtime-core): should preserve props casing when component has no declared props
close #583
2020-01-06 15:05:57 -05:00
Evan You 2c3c65772b perf: optimize props resolution
Store the keys for props that need default or boolean casting
during normalization, so that later we only need to iterate
through this array instead of the entire props object.
2019-12-12 22:07:48 -05:00
Evan You a834807942 refactor: rename transition components 2019-11-24 16:00:46 -05:00
Evan You 79f23a2f77 feat(transition): support component child 2019-11-20 22:46:32 -05:00
Evan You 08bf9976ae types: ensure props are readonly 2019-11-09 18:40:25 -05:00
Evan You d9c6ff372c feat(core): allow passing explicit refs via props 2019-11-06 12:51:26 -05:00
Evan You 247c53672d refactor(reactivity): simplify effect options 2019-10-30 11:11:23 -04:00
Evan You 8edfbf9df9 feat(core): adjust attrs fallthrough behavior 2019-10-25 12:12:17 -04:00
Junyan d76cfba7fb refactor(reactivity): reduce code of type check (#377) 2019-10-25 11:15:04 -04:00
Evan You 42bf9ca3e5 feat(props): enable case conversion in all builds, preserve casing for attrs 2019-10-24 10:59:57 -04:00
Evan You e2917fef96 feat(props): kebab -> camel prop case support in full build 2019-10-23 21:51:01 -04:00
edison 9dcbf17f3a perf(runtime-core): use `makeMap` instead of `RE` (#350) 2019-10-23 10:34:58 -04:00
Evan You af57ad110f chore: revert prettier 2019-10-22 11:53:32 -04:00
Evan You b5886189ba types: massive refactor 2019-10-22 11:53:32 -04:00
Evan You 1393ee52ca types: improve typing 2019-10-08 10:50:10 -04:00
Vladimir f48a2ffc76 chore: fix typos (#103) 2019-10-05 10:48:54 -04:00
月迷津渡 9d6783053c types: simplify types (#104) 2019-10-05 10:09:34 -04:00
Evan You d67418002f feat(compiler): generate patchFlags for runtime 2019-09-30 21:17:12 -04:00
Evan You b3b67b8c7d feat(compiler): ensure interpolation expressions are wrapped with toString() 2019-09-23 15:36:30 -04:00
Evan You 360f3b4f37 types: improve type exports 2019-09-06 12:58:31 -04:00
Evan You 891f21b010 refactor: extract hasOwn helper 2019-09-05 20:48:14 -04:00
Evan You 5a754aac81 test: test for setup() 2019-08-26 18:08:56 -04:00
Evan You 589d3c2feb refactor: immutable -> readonly 2019-08-23 09:38:32 -04:00
Evan You f3e9848bb2 refactor: use const enums for flags 2019-08-22 11:12:37 -04:00
Evan You e1e4a3854c wip: update runtime core to updated reactivity api names 2019-08-16 10:02:53 -04:00
Evan You fce6a8fa51 wip: support returning render fn from setup() + improve createComponent type inference 2019-06-12 15:43:19 +08:00
Evan You 471899af8b refactor: rename reactivity package name and APIs 2019-06-11 23:50:28 +08:00
Evan You e9a3fa60d6 wip: delete keys from props proxy when needed 2019-06-05 21:38:32 +08:00
Evan You 2848f65a7f wip: refs 2019-06-03 13:44:45 +08:00
Evan You d6d4ba8679 wip: style/class normalization 2019-06-01 17:43:41 +08:00
Evan You da5edd3429 wip: improve props typing 2019-06-01 00:47:05 +08:00
Evan You c0c06813a7 wip: slots 2019-05-31 18:07:43 +08:00
Evan You 333ceaa4b5 wip: props proxy for setup() 2019-05-30 23:16:15 +08:00
Evan You 6ceb732114 refactor: component setup flow 2019-05-29 11:36:16 +08:00
Evan You eac8a4baa3 wip: props immutability 2019-05-29 10:43:27 +08:00
Evan You 46524a0f0f refactor: rename 2019-05-29 09:18:45 +08:00
Evan You 19ed750078 wip: lifecycle hooks 2019-05-28 19:36:15 +08:00
Evan You 9dd133b1e9 wip: props resolving 2019-05-28 18:06:00 +08:00
Evan You 3cded86b98 wip: switch to new implementation 2019-05-25 23:51:20 +08:00
Evan You ec0ccd2337 refactor: return Proxy from base class constructor 2019-03-05 16:24:07 -05:00
Evan You e151d34100 test: fix mixin case 2019-02-26 21:45:13 -05:00
Evan You ff9cddd46f refactor: move prop decorator into core, expose initial props to initialziers 2019-02-26 21:33:50 -05:00
Evan You cbf95c642e feat: @prop decorator 2019-02-25 17:47:02 -05:00
Evan You d5862d8c51 feat: make functional components time-slicable 2018-11-03 06:31:30 +09:00
Evan You b08b15dba0 refactor: adjust props initialization/updating 2018-10-26 17:49:40 -04:00
Evan You e05673f4d3 refactor: rename packages 2018-10-26 15:44:50 -04:00