HNHacker News
TopNewBestAskShowJobs

nuko-suke-dev

50 karma · joined November 24, 2022

Software Engineer, Tokyo
submissionscomments
nuko-suke-dev··on Show HN: Dandori – Visualize Your Tasks
Thanks for the feedback! I have been convinced that people can’t understand what the site is like and how to use it intuitively. This site needs to be more user-friendly.
nuko-suke-dev··on Show HN: Speed up your site by running JavaScript when the browser is idle
I agree with you. It is difficult to measure how to improve the site performance concretely by using idle-task, but I will do this with my application.
nuko-suke-dev··on Show HN: Speed up your site by running JavaScript when the browser is idle
Certainly.
nuko-suke-dev··on Show HN: Speed up your site by running JavaScript when the browser is idle
Thank you for your good code review! In most cases, I agree with you. I will improve the code as you said gradually.
nuko-suke-dev··on Show HN: Speed up your site by running JavaScript when the browser is idle
Sorry for the confusion.

>this is a convenience wrapper around “requestIdleCallback” That's right. I changed README.

https://github.com/hiroki0525/idle-task#features

nuko-suke-dev··on 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/...

nuko-suke-dev··on Show HN: Speed up your site by running JavaScript when the browser is idle
>The README file presents it like an alternative to `requestIdleCallback`, while, in fact, it is a convenience wrapper around `requestIdleCallback`. It is a nice idea, but the description makes it confusing.

That's right. I changed README to everyone to understand it.

https://github.com/hiroki0525/idle-task#features