News for hackers. Stuff that matters.
Re:Chrome will aggressively throttle background tabs by STRML on Tuesday January 24, 2017 @03:18PM (#13475061)
React is in the business of limiting its API surface, not increasing it. I think they have done a great job of it - libraries like this should exist in userland.
Re:Chrome will aggressively throttle background tabs by cpeterso on Tuesday January 24, 2017 @04:30PM (#13475703)
It seems like React could listen for visibilitychange itself to throttle its own events or virtual DOM processing. It wouldn't necessarily need to expose visibilitychange as a library API.