network-idle-callback
idle-task
network-idle-callback | idle-task | |
---|---|---|
2 | 6 | |
135 | 142 | |
- | - | |
0.0 | 8.3 | |
over 1 year ago | 4 days ago | |
JavaScript | TypeScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
network-idle-callback
-
Show HN: Speed up your site by running JavaScript when the browser is idle
On a related note: Preload assets and data whenever network is idle —
https://github.com/pastelsky/network-idle-callback
- Loading 3rd-Party JavaScript
idle-task
- Why don't you do it when the browser is free instead of setInterval?
-
Validate Form during Browser Idle for Performance Optimization
This article introduces the example using idle-task (v3.3.1) which wraps requestIdleCallback conveniently.
- Improve Responsiveness to User Interactions
-
Import Strategies for Performance Optimization⚡
I introduced you to some import strategies for performance optimization and I recommend to use idle-task .
-
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
What are some alternatives?
workbox - 📦 Workbox: JavaScript libraries for Progressive Web Apps
hyper-fetch - ⚡ Fetching and realtime data exchange framework.
Pie-Cooker - Click, cook, upgrade, and become the pie king!
partytown - Relocate resource intensive third-party scripts off of the main thread and into a web worker. 🎉
promise-breaker - Helps you write libraries that accept both promises and callbacks.
backfill - A JavaScript caching library for reducing build time
guess - 🔮 Libraries & tools for enabling Machine Learning driven user-experiences on the web
sysend.js - Web application synchronization between different tabs
Pokeclicker-Scripts - Various scripts & enhancements for the game Pokéclicker.