Re:Ask HN: How to prepare for a Front-end Developer interview?
by minikomi on Monday August 15, 2016 @12:01AM
(#12288572)
Can you clarify what you mean by xhr throttling? Implementing something like _.throttle to wrap requests?
[ Parent
| on HN ]
Re:Ask HN: How to prepare for a Front-end Developer interview?
by ry_ry on Monday August 15, 2016 @02:40AM
(#12289040)
Hopefully not! Surely _.debounce would be more appropriate to avoid locking out your UI - or worse, returning out of date responses - but even then you would potentially want to handle the responses more robustly.
Not to mention needing to handle .fetch()s lack of abort if you're not using xhr.