Several months ago we started talking about whether or not to update our React curriculum to use the new React Hooks syntax over the old class-based syntax.
It was a challenging decision. In addit... (more…)
Read more »
The web disseminates ideas globally, instantly at zero cost. Because JS executes on the Web it has an unfair advantage over every other… (more…)
Read more »
I’m SĂ©rgio, and I work at Web Developer Relations at Google, helping developers make the web a better place. (more…)
Read more »
The <picture> element supports media query matchers and if you want to specify a different image for dark mode, you can use a different <source>. So, if there are no suitable matches or if the browser doesn’t support the <picture> elemen... (more…)
Read more »
Earlier today a friend of mine, Marc Grabanski, pinged me with a question: What’s the optimal way, in JavaScript, to convert a query string like “foo=1&foo=2&foo=3&blah=a&blah=b” into one that looks like this: “foo=1,2,3&blah=a,b”. He ... (more…)
Read more »