hiroki0525/idle-task
View on GitHub ↗ ★ 151 TypeScript
Improve your website performance by executing JavaScript during a browser's idle periods.
4 mentions on Hacker News by 2 people: 0 stories, 4 comments · first 2022-11-24 · latest 2022-11-25
20082026
-
…>this is a convenience wrapper around “requestIdleCallback” That's right. I changed README. https://github.com/hiroki0525/idle-task#features
comment by nuko-suke-dev · 2022-11-25 · in Show HN: Speed up your site by running JavaScript when the browser is idle -
`idle-task` has shim as below . https://github.com/hiroki0525/idle-task/blob/main/src/index.... References - https://developer.chrome.com/blog/using-requestidlecallback/...
comment by nuko-suke-dev · 2022-11-24 · in Show HN: Speed up your site by running JavaScript when the browser is idle -
…the description makes it confusing. That's right. I changed README to everyone to understand it. https://github.com/hiroki0525/idle-task#features
comment by nuko-suke-dev · 2022-11-24 · in Show HN: Speed up your site by running JavaScript when the browser is idle -
The code: https://github.com/hiroki0525/idle-task/blob/main/src/index.... Some initial impressions (based on https://github.com/hiroki0525/idle-task/blob/7e88c8b97c926cf... ): • The cancelIdleCallback fallback implementation will never be…
comment by chrismorgan · 2022-11-24 · in Show HN: Speed up your site by running JavaScript when the browser is idle