Skip to content

Commit

Permalink
chore: 更新依赖,提高性能
Browse files Browse the repository at this point in the history
  • Loading branch information
agileago committed Jan 12, 2022
1 parent 28829fb commit 0b02dd9
Show file tree
Hide file tree
Showing 4 changed files with 380 additions and 389 deletions.
11 changes: 10 additions & 1 deletion example/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,13 @@ import { SizeService } from './size.service'

class Child extends VueComponent {
render() {
return <div>111</div>
console.log('render')
return (
<div>
111
<div>{this.context.slots.default?.()}</div>
</div>
)
}
}

Expand Down Expand Up @@ -36,6 +42,9 @@ class Home extends VueComponent {
render() {
return (
<div style={{ textAlign: 'center' }}>
<Child>
<div>11111</div>
</Child>
<h2>count: {this.countService.count}</h2>
<button onClick={() => this.countService.add()}>+</button>
<button onClick={() => this.countService.remove()}>-</button>
Expand Down
18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,19 +54,19 @@
"license": "MIT",
"devDependencies": {
"@abraham/reflection": "^0.8.0",
"@commitlint/cli": "^16.0.1",
"@commitlint/cli": "^16.0.2",
"@nexhome/yorkie": "^2.0.8",
"@types/lodash-es": "^4.17.5",
"@types/markdown-it": "^12.2.3",
"@types/node": "^17.0.6",
"@types/prettier": "^2.4.2",
"@types/prettier": "^2.4.3",
"@types/swagger-schema-official": "^2.0.22",
"@typescript-eslint/eslint-plugin": "^5.8.1",
"@typescript-eslint/parser": "^5.9.0",
"@typescript-eslint/eslint-plugin": "^5.9.1",
"@typescript-eslint/parser": "^5.9.1",
"@vitejs/plugin-vue": "^2.0.1",
"@vue/runtime-core": "^3.2.26",
"@vue/test-utils": "^2.0.0-rc.18",
"@vue3-oop/plugin-vue-jsx": "^1.3.5",
"@vue3-oop/plugin-vue-jsx": "^1.4.0",
"ant-design-vue": "^3.0.0-alpha.11",
"autobind-decorator": "^2.4.0",
"axios": "^0.24.0",
Expand All @@ -80,19 +80,19 @@
"eslint-plugin-prettier": "^4.0.0",
"happy-dom": "^2.25.1",
"injection-js": "^2.4.0",
"lint-staged": "^12.1.5",
"lint-staged": "^12.1.7",
"lodash-es": "^4.17.21",
"markdown-it-codetabs": "^1.2.0",
"npm-run-all": "^4.1.5",
"prettier": "^2.5.1",
"rimraf": "^3.0.2",
"sass": "^1.45.2",
"sass": "^1.47.0",
"standard-version": "^9.3.2",
"tslib": "^2.3.1",
"typescript": "^4.5.4",
"vite": "^2.7.10",
"vitepress": "^0.20.10",
"vitest": "^0.0.134",
"vitepress": "^0.21.4",
"vitest": "^0.0.141",
"vue": "^3.2.26",
"vue-router": "^4.0.12"
},
Expand Down
Loading

0 comments on commit 0b02dd9

Please sign in to comment.