Remove Code Remove Magazine Remove Processing 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

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
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

World’s Top Web Performance Leaders To Watch

Rigor

Reading time 16 min Whether you’re a web performance expert, an evangelist for the culture of performance, a web engineer incorporating performance into your process, or someone new to the web performance entirely, you probably identify as curious, excited about new ideas, and always learning. Rachel Andrew. Maximiliano Firtman.

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

Are Imposter Domains Re-Publishing Your Website?

Smashing Magazine

They all generally are instrumented as JavaScript processes that are loaded onto your site’s web pages through a tag or snippet of loader code. A web page may be scraped and re-published with additional JavaScript that contains browser or search hijacking attack code. Turning The Data Into Information. Large preview ).

Website 89
article thumbnail

Meet Touch Design For Mobile Interfaces, A New Smashing Book By Steven Hoober

Smashing Magazine

Chapter 8 covers the issues around imprecision and probability and shows how we need to design systems, interactions, and processes that prevent mistakes — especially avoiding catastrophe when mistaken taps are made. From these resources we can start building a reference library of how to pursue each aspect of the design process.

Mobile 87
article thumbnail

A Simple But Effective Mental Health Routine For Programmers

Smashing Magazine

After working on a coding project for a good couple of hours, many developers like myself tend to hit a wall. For the most part, coding can be quite intimidating and disappointing for a beginner or even a well-versed developer. Thinking, Remembering And Processing Information Better. Dave Oscar. 2021-10-16T10:00:00+00:00.