Remove Best Practices Remove Magazine Remove Open Source Remove Website
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.

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

Smashing Podcast Episode 40 With Mike Cavaliere: What Is Chakra UI For React?

Smashing Magazine

Mike’s personal website. Actually, I was just checking the Cut Into The Jamstack website today, and the accessibility score is very high. I’ve done static websites. There’s accessibility, best practices, performance and one fourth one. In this episode, we’re talking about Chakra UI. Show Notes. Mike on Twitter.

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

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

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