Closed nonzzz closed 2 years ago
Merging #231 (3b8f8e0) into master (e04ab63) will not change coverage. The diff coverage is
100.00%
.
@@ Coverage Diff @@
## master #231 +/- ##
=======================================
Coverage 96.67% 96.67%
=======================================
Files 190 190
Lines 2136 2136
Branches 373 373
=======================================
Hits 2065 2065
Misses 71 71
Impacted Files | Coverage Δ | |
---|---|---|
packages/vue/src/loading/loading.tsx | 100.00% <100.00%> (ø) |
|
packages/vue/src/pagination/pagination-pages.tsx | 100.00% <100.00%> (ø) |
|
packages/vue/src/rating/rating.tsx | 100.00% <100.00%> (ø) |
|
packages/vue/src/spinner/spinner.tsx | 100.00% <100.00%> (ø) |
|
packages/vue/src/swipe/swipe.tsx | 84.21% <100.00%> (ø) |
I don't think we need to bring the golang code style into typescript, it makes the code look a little strange.
Of course, there's nothing wrong with coding it that way if you must.
@zaunist There is a reason for why i need a make func, you can view some component use [...Array],But is not a good way, form the benchmark.make is more fast
Spread syntax is easy cause stack overflow. We should avoid
Checklist
Change information
For more performance. I decide add a make func. You can see it's very clean.