Skip to content

Commit 0b02dd9

Browse files
committed
chore: 更新依赖,提高性能
1 parent 28829fb commit 0b02dd9

File tree

4 files changed

+380
-389
lines changed

4 files changed

+380
-389
lines changed

example/main.tsx

+10-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,13 @@ import { SizeService } from './size.service'
77

88
class Child extends VueComponent {
99
render() {
10-
return <div>111</div>
10+
console.log('render')
11+
return (
12+
<div>
13+
111
14+
<div>{this.context.slots.default?.()}</div>
15+
</div>
16+
)
1117
}
1218
}
1319

@@ -36,6 +42,9 @@ class Home extends VueComponent {
3642
render() {
3743
return (
3844
<div style={{ textAlign: 'center' }}>
45+
<Child>
46+
<div>11111</div>
47+
</Child>
3948
<h2>count: {this.countService.count}</h2>
4049
<button onClick={() => this.countService.add()}>+</button>
4150
<button onClick={() => this.countService.remove()}>-</button>

package.json

+9-9
Original file line numberDiff line numberDiff line change
@@ -54,19 +54,19 @@
5454
"license": "MIT",
5555
"devDependencies": {
5656
"@abraham/reflection": "^0.8.0",
57-
"@commitlint/cli": "^16.0.1",
57+
"@commitlint/cli": "^16.0.2",
5858
"@nexhome/yorkie": "^2.0.8",
5959
"@types/lodash-es": "^4.17.5",
6060
"@types/markdown-it": "^12.2.3",
6161
"@types/node": "^17.0.6",
62-
"@types/prettier": "^2.4.2",
62+
"@types/prettier": "^2.4.3",
6363
"@types/swagger-schema-official": "^2.0.22",
64-
"@typescript-eslint/eslint-plugin": "^5.8.1",
65-
"@typescript-eslint/parser": "^5.9.0",
64+
"@typescript-eslint/eslint-plugin": "^5.9.1",
65+
"@typescript-eslint/parser": "^5.9.1",
6666
"@vitejs/plugin-vue": "^2.0.1",
6767
"@vue/runtime-core": "^3.2.26",
6868
"@vue/test-utils": "^2.0.0-rc.18",
69-
"@vue3-oop/plugin-vue-jsx": "^1.3.5",
69+
"@vue3-oop/plugin-vue-jsx": "^1.4.0",
7070
"ant-design-vue": "^3.0.0-alpha.11",
7171
"autobind-decorator": "^2.4.0",
7272
"axios": "^0.24.0",
@@ -80,19 +80,19 @@
8080
"eslint-plugin-prettier": "^4.0.0",
8181
"happy-dom": "^2.25.1",
8282
"injection-js": "^2.4.0",
83-
"lint-staged": "^12.1.5",
83+
"lint-staged": "^12.1.7",
8484
"lodash-es": "^4.17.21",
8585
"markdown-it-codetabs": "^1.2.0",
8686
"npm-run-all": "^4.1.5",
8787
"prettier": "^2.5.1",
8888
"rimraf": "^3.0.2",
89-
"sass": "^1.45.2",
89+
"sass": "^1.47.0",
9090
"standard-version": "^9.3.2",
9191
"tslib": "^2.3.1",
9292
"typescript": "^4.5.4",
9393
"vite": "^2.7.10",
94-
"vitepress": "^0.20.10",
95-
"vitest": "^0.0.134",
94+
"vitepress": "^0.21.4",
95+
"vitest": "^0.0.141",
9696
"vue": "^3.2.26",
9797
"vue-router": "^4.0.12"
9898
},

0 commit comments

Comments
 (0)