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

To figure out what exactly is the problem, we can use FFMPEG , which is open source and free, and proves to be one of the most reliable tools to optimize videos. You can test the different videos with StreamOrNot , a little open source project that I’ve released a while back. But what do we need to fix it?

Network 144
Insiders

Sign Up for our Newsletter

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

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. Cypress’ developers themselves provide some guidance on this topic in their best practices. Tests are written in JavaScript.

Testing 138
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. Software Development Kits (SDKs) for various technologies, languages and platforms are available directly from the Headless vendor, an open-source initiative or a third-party. Technical and sales support.

Cache 145
article thumbnail

Three Insights I Gained While Researching Vue.js Accessibility

Smashing Magazine

If you happen to be interested in learning how to accomplish the exact same concept using React, friend of the show magazine Heydon Pickering wrote about the topic back in 2018 and supplied React/JSX sample code. With best practices and guidelines on accessibility, assistive technology and inclusive design patterns.

Strategy 143
article thumbnail

Measuring The Performance Of Typefaces For Users (Part 1)

Smashing Magazine

What would the world’s most ideal, best practice and design research-driven highly legible serif, sans serif, and slab serif possibly be like? 400 pages , jam-packed with in-depth user research and best practices. It is a very interesting idea that builds on previous best practices to find an optimal solution.

article thumbnail

Hybrid Lazy Loading: A Progressive Migration To Native Lazy Loading

Smashing Magazine

The best practice is to do this for the primary images — typically for the ones that will be displayed above the fold. <img This is a best practice only if you do it only to secondary images — typically for the ones will be displayed below the fold. <img Important Best Practices.

Website 106