Front-End
Debounce vs Throttle in JavaScript and When to Use Each
Your search box fires an API request on every keystroke, so typing "headphones" sends ten requests and the results flicker as...
Blog, page 4 of 21
Every article on front-end, back-end, browsers, tooling, accessibility and games, newest first.
Front-End
Your search box fires an API request on every keystroke, so typing "headphones" sends ten requests and the results flicker as...
Dev Tools
You add console.log to a loop, refresh, and the panel fills with 400 identical lines of "[object Object]" and "here".
Browsers
You set a timeout of zero milliseconds and it still runs after a promise that was created later.
Back-End
An endpoint that returned in 40 ms when the table had 10,000 rows now takes 3 seconds at 4 million, and nothing in the code...
A screen reader user lands on your toolbar and hears "button, button, button, button".
Front-End
You start a layout with flexbox, add a wrap, fight the last row that will not line up with the rows above it, and end up with a...