Closed zombieJ closed 2 years ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Updated |
---|---|---|---|
motion | ✅ Ready (Inspect) | Visit Preview | Apr 19, 2022 at 10:06AM (UTC) |
Merging #29 (bebb93a) into master (24efc07) will increase coverage by
0.00%
. The diff coverage is100.00%
.
@@ Coverage Diff @@
## master #29 +/- ##
=======================================
Coverage 98.30% 98.31%
=======================================
Files 10 11 +1
Lines 355 356 +1
Branches 94 95 +1
=======================================
+ Hits 349 350 +1
Misses 6 6
Impacted Files | Coverage Δ | |
---|---|---|
src/hooks/useIsomorphicLayoutEffect.ts | 100.00% <100.00%> (ø) |
|
src/hooks/useStatus.ts | 100.00% <100.00%> (ø) |
|
src/hooks/useStepQueue.ts | 100.00% <100.00%> (ø) |
:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more
发现在测试环境下
useEffect
时序比 Promise 更慢,为了保持一致性还是应该使用useLayoutEffect
即便它很恼人。