Menu

Using requestAnimationFrame with React Hooks

August 21st, 2019

Animating with requestAnimationFrame should be easy, but if you haven’t read React’s documentation thoroughly then you will probably run into a few things that might cause you a headache. Here are three gotcha moments I learned the hard way. TLDR: Pass an empty array as a second parameter for useEffect to avoid it running more…

Other Ways to SPAs

August 21st, 2019

That rhymed lolz. I mentioned on a podcast the other day that I sorta think WordPress should ship with Turbolinks. It’s a rather simple premise: Build a server-rendered site. Turbolinks intercepts clicks on same-origin links. It uses AJAX for the HTML of the new page and replaces the current page with the new one. In…

Additional safeguards to protect the quality of our ad network

August 21st, 2019

Supporting a healthy ads ecosystem that works for publishers, advertisers, and users continue to be a top priority in our effort to sustain a free and open web. As the ecosystem evolves, our ad systems and defenses must adapt as well. Today, we’d like to highlight some of our efforts to protect the quality of…

Chrome Dev Summit is now open for registration!

August 20th, 2019

We’re excited to announce that registration for the seventh Chrome Dev Summit is now open and you can request your invite here today! During the Summit, we will share our vision for and updates on our work towards moving the web platform forward and of course, have a bit of fun. ‘Cuz what’s Chrome Dev…

“Lite” but packs a punch: Google Go comes to Android everywhere

August 20th, 2019

Google Go is a lightweight, fast app that helps you access information, both online and in the world around you, even with an unstable connection. It does this while using less storage and memory, helping your phone stay fast. Google Go has been available in a few countries and on Android (Go edition) devices since 2017…

New tools to help Spanish speakers build their careers

August 20th, 2019

Spanish is my first language, and it’s what I spoke with my family growing up in Costa Rica. Even today, after making the U.S. my home for more than two decades, it’s the language my brain thinks in. So I understand well the challenges of living in a country where the spoken language is your…

Let’s Build a JAMstack E-Commerce Store with Netlify Functions

August 20th, 2019

A lot of people are confused about what JAMstack is. The acronym stands for JavaScript, APIs, and Markup, but truly, JAMstack doesn’t have to include all three. What defines JAMstack is that it’s served without web servers. If you consider the history of computing, this type of abstraction isn’t unnatural; rather it’s the inevitable progression…

Lazy load embedded YouTube videos

August 20th, 2019

This is a very clever idea via Arthur Corenzan. Rather than use the default YouTube embed, which adds a crapload of resources to a page whether the user plays the video or not, use the little tiny placeholder webpage that is just an image you can click that is linked to the YouTube embed. It…

“Great Sporting Land” tours Australia’s sports-mad history

August 19th, 2019

Australians have a passion for sports—so much that it was perfectly normal for the Prime Minister to give the entire country the day off when they won a boat race back in 1983. Over generations, Australia’s favorite pastimes have shaped the country’s identity, values and culture. Along with the Melbourne Cricket Club, Australian Football League,…

Using rel=”preconnect” to establish network connections early and increase performance

August 19th, 2019

Milica Mihajlija: Adding rel=preconnect to a <link> informs the browser that your page intends to establish a connection to another domain, and that you’d like the process to start as soon as possible. Resources will load more quickly because the setup process has already been completed by the time the browser requests them. The graphic…