Remove Best Practices Remove Code Remove Magazine Remove Technology
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

Improving JavaScript Bundle Performance With Code-Splitting

Smashing Magazine

Improving JavaScript Bundle Performance With Code-Splitting. Improving JavaScript Bundle Performance With Code-Splitting. It’s a common misconception that the code which is produced by the framework build tools (Webpack, for example) is fully optimized and cannot be improved upon any further. The answer lies in code-splitting.

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

Three Insights I Gained While Researching Vue.js Accessibility

Smashing Magazine

Let’s progress from theoretical considerations into hands-on code. In the following code block, you see a component listing the newest problems in an online shop. With best practices and guidelines on accessibility, assistive technology and inclusive design patterns. Online, and live. Jump to the workshop ?.

Strategy 141
article thumbnail

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

Smashing Magazine

The phrase sums up end-to-end testing well: It simulates actual user workflows and should include as many functional areas and parts of the technology stack used in the application as possible. We know that front-end testing is a set of practices for testing the UI of a web application, including its functionality. More after jump!

Testing 135
article thumbnail

Signals For Customizing Website User Experience

Smashing Magazine

Approximately two-thirds of Indian mobile Chrome users of Smashing Magazine have this setting turned on, for example. For Smashing Magazine, that involved dropping some of our web fonts. And Is It Used? Again, I talked about this that previous article , and the answer is a resounding yes! Data Saver. Network Signals. 2g , and 0.3%

Website 103
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. For example, if the CMS is built on Microsoft’s.NET Framework, the front-end website would also be built on the same technology. Comprehensive documentation and code samples are also a must. Enterprise features.

Cache 143
article thumbnail

Bridging The Gap Between Designers And Developers

Smashing Magazine

How do we know the code is the same UI? This new technology may cause some to rethink how entire design and engineering teams collaborate and work through use cases and building components. So, you may be wondering, how does UXPin Merge’s technology help with this over-the-top process we all employ today? Managing Libraries.

Design 110