perf: replace h with createVNode for PatchFlags (#6)

* chore: disable `no-bitwise` in eslint

* feat: replace h with createVNode for PatchFlags

* fix: vModel modifiers shift

* chore: rename v-_model to _model in sugar-v-model

* fix: hasRef will not always be false

* feat: Check if an attribute value is constant

* chore: pass null when children is empty

* chore: describe Transform JSX in test

* chore: add describe Patch Flags

* perf: import compatibleProps when opts.compatibleProps is true

* test: add coverage report (#7)

* refactor: cjs to esModule

Co-authored-by: Haoqun Jiang <haoqunjiang@gmail.com>
This commit is contained in:
Amour1688
2020-06-07 17:22:42 +08:00
committed by GitHub
parent 88bf7cca93
commit 4c34cf1d5d
14 changed files with 902 additions and 547 deletions

View File

@ -19,5 +19,7 @@ module.exports = {
'no-use-before-define': [0],
'no-plusplus': [0],
'import/no-extraneous-dependencies': [0],
'consistent-return': [0],
'no-bitwise': [0]
},
};