News for hackers. Stuff that matters.
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?
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.

Re:Ask HN: How to prepare for a Front-end Developer interview? by minikomi on Wednesday August 17, 2016 @09:14PM (#12309794)
How can a throttled vs debounced xhr request "lock out the UI"?