Remove Code Remove Magazine Remove Speed Remove Strategy
article thumbnail

Creating A Magento PWA: Customizing Themes vs. Coding From Scratch

Smashing Magazine

Creating A Magento PWA: Customizing Themes vs. Coding From Scratch. Creating A Magento PWA: Customizing Themes vs. Coding From Scratch. One of the reasons for that is because a PWA has the same code base. So unlike the case with native applications, the progressive web app needs to be coded only once. Alex Husar.

Code 74
article thumbnail

World’s Top Web Performance Leaders To Watch

Rigor

list of those who are making a significant impact on speeding up the web today. Rachel is the Editor-in-Chief of Smashing Magazine, a British web developer, writer, and speaker. Vitaly is a co-founder of the Smashing Magazine brand. Here is our (ever-growing!) Plus, at the end, a few bonus Twitter handles to round things out.).

Insiders

Sign Up for our Newsletter

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Trending Sources

article thumbnail

Next.js Wildcard Subdomains

Smashing Magazine

In code, that looks like this: export async function getServerSideProps(context) { let wildcard = context.req.headers.host.split(".")[0]; Here’s how that code looks like: // useEffect and useState must be imported from 'react' const [wildcard, setWildcard] = useState("") useEffect(() => { setWildcard(window.location.hostname.split(".")[0])

Servers 83
article thumbnail

Refactoring CSS: Strategy, Regression Testing And Maintenance (Part 2)

Smashing Magazine

Refactoring CSS: Strategy, Regression Testing And Maintenance (Part 2). Refactoring CSS: Strategy, Regression Testing And Maintenance (Part 2). In this article, we’ll take a deep dive into the refactoring process itself, and cover incremental refactoring strategy, visual regression testing, and maintaining the refactored codebase.

Strategy 132
article thumbnail

Using SWR React Hooks With Next.js’ Incremental Static Regeneration (ISR)

Smashing Magazine

The more interesting thing, however, is the impact on the speed of our side. When we measure speed through Lighthouse, we get a speed index of 1.5 With detailed code walkthroughs , hands-on examples and common gotchas — all broken down into short, manageable lessons. seconds for the ISR + SWR variant of the site and 5.8

Cache 102
article thumbnail

How To Optimize Progressive Web Apps: Going Beyond The Basics

Smashing Magazine

It doesn’t come as a surprise, considering the benefits of higher conversion rates, customer engagement, decreased page loading speed, and lower costs on development and overhead. You can find a comprehensive Beginner’s Guide To Progressive Web Apps on Smashing Magazine that focuses on building the core of PWAs. Large preview ).

Cache 123
article thumbnail

Eye-Tracking In Mobile UX Research

Smashing Magazine

With detailed code walkthroughs , hands-on examples and common gotchas — all broken down into short, manageable lessons. However, conducting online experiments is a fairly inexpensive way to develop better websites, apps, services, and strategies and make decisions not based on intuition, but on scientific data. More after jump!

Mobile 111