developit / developit/preact-cycle
setTimeout vs. requestAnimationFrame?
Đang mở
enhancement
question
- Ngôn ngữ chính
- JavaScript
- Star
- 143
- Fork
- 12
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
hey just wondering if there was any reason you went with a setTimeout in the renderer here? just out of simplicity?
I'm thinking requestAnimationFrame might be a bit better (to render on the paints) but i'm not sure if setTimeout was a deliberate decision or not.
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.