Remove Best Practices Remove Magazine Remove Open Source Remove Website
article thumbnail

Don’t Sink Your Website With Third Parties

Smashing Magazine

Don’t Sink Your Website With Third Parties. Don’t Sink Your Website With Third Parties. You’ve spent months putting together a great website design, crowd-pleasing content, and a business plan to bring it all together. Your website may be using more third-party services than you realize. Ken Harker.

Website 131
article thumbnail

React Children And Iteration Methods

Smashing Magazine

In this article, we’ll look at a React utility React.Children.toArray which lets us prepare the children prop for inspection and iteration, some of its shortcomings and how to overcome them — through a small open-source package, to keep our React code function the way it is deterministically supposed to behave, keeping performance intact.

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

Optimizing Video For Size And Quality

Smashing Magazine

By running basic optimizations of our videos before adding them to our websites, we can prevent these issues from occurring for good — well, most of them. It’s not uncommon to find websites with extremely large videos — for example, used used as hero background videos. There is a solution though! Real-World Data. Large preview ).

Network 143
article thumbnail

Let’s Dive Into Cypress For End-to-End Testing

Smashing Magazine

Cypress’ test runner is open-source, so it fits our product strategy. Example: Finding My Articles in Smashing Magazine. I want to write a test for this website, Smashing Magazine. What’s the first thing to do when testing a website? Right, we need to open the website. Getting Started.

Testing 135
article thumbnail

How To Choose A Headless CMS

Smashing Magazine

We’ve explored the concepts behind headless CMSes in detail here on Smashing Magazine, but let’s do a quick recap. When it comes to a Traditional CMS, the CMS and the resulting front-end website are built on a monolithic architecture. there was a separate subdomain for a mobile website). Infrastructure Integration.

Cache 143
article thumbnail

How To Build An Amazon Product Scraper With Node.js

Smashing Magazine

As such, I urge you always to be mindful of the website while scraping, take care not to damage it, and follow ethical guidelines. Recommended Reading : “ The Guide To Ethical Scraping Of Dynamic Websites With Node.js So, it goes without saying just how big of a data treasure trove the website is. Not all websites are the same.

Website 115
article thumbnail

Using Modern Image Formats: AVIF And WebP

Smashing Magazine

If you’re optimizing for the Web Vitals , you might be interested to hear that images account for ~ 42% of the Largest Contentful Paint element for websites. While decoding speed for JPEGs is excellent, it lacks other desirable features required of images on modern, eye-catching websites. JPEG is also a lossy compression format.