useCountDownHooks #98
Replies: 2 comments
-
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
childrentime
-
还有就是,没有前端的倒计时可以不出现时间偏差,除非一直与后端的高精度时间同步,不然总会出现偏差。 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
这个Hooks里面使用了setInterval,跟aHooks一样,都没有使用requestAnimationFrame,- -表示很想了解为啥不用这个,不是性能更好而且不会出现时间偏差么- -
Beta Was this translation helpful? Give feedback.
All reactions