Home/Smashing Magazine
Source

Smashing Magazine

1,379 articles from Smashing Magazine.

Frontend — CommonMark: A Formal Specification For Markdown — Smashing Magazine

CommonMark: A Formal Specification For Markdown — Smashing Magazine

Markdown is a powerful markup language that allows editing and formatting in plain text format that can then be parsed and rendered as HTML. It has a declarative syntax that is both powerful and easy to learn for technical and non-technical folks. However, due to the consequential ambiguities in its original specification, there have been a number of distinct [flavors (or custom versions)](https:/

AAAdebiyi AdedotunAdebiyi Adedotun·December 3, 2020Frontend
Engineering — Designing An Attractive And Usable Data Importer For Your App — Smashing Magazine

Designing An Attractive And Usable Data Importer For Your App — Smashing Magazine

Even though the development of a data importer is a complex matter, you don’t want your users’ experience with it to be just as complex or complicated. The second they experience any friction or fault in data onboarding, the chances of them bailing from the software will skyrocket. So, in this post, we’re going to focus on how best to present your data importer to users.

SSSuzanne ScaccaSuzanne Scacca·December 2, 2020Engineering
Design & UX — Weaving Web Accessibility With Usability — Smashing Magazine

Weaving Web Accessibility With Usability — Smashing Magazine

You can provide access to people with visual impairments without involving them in the product development lifecycle, by formally adopting web accessibility standards... but does that mean the end product is usable? In this article, Uri Paz explains how a site complying with accessibility guidelines may still present usability issues when testing with real users. Find out how weaving accessibility

UPUri PazUri Paz·November 30, 2020Design & UX
Engineering — Dreaming Of A Magical December (2020 Wallpapers Edition) — Smashing Magazine

Dreaming Of A Magical December (2020 Wallpapers Edition) — Smashing Magazine

Let’s welcome December with some new wallpapers! Designed by artists and designers from across the globe, they are available with and without a calendar for the month. All images can be clicked on and lead to the preview of the wallpaper. We respect and carefully consider the ideas and motivation behind each and every artist’s work. This is why we give all artists the full freedom to explore their

CMCosima MielkeCosima Mielke·November 30, 2020Engineering
Engineering — Reactive Variables In GraphQL Apollo Client — Smashing Magazine

Reactive Variables In GraphQL Apollo Client — Smashing Magazine

Reactive variables work with GraphQL Apollo and offer you the same functionality with Redux or Context API without the complexity or extra layers that come with these other tools. A reactive variable in GraphQL Apollo is easy to use and doesn’t have as much setup process compared to Redux. In this article, Daniel Don will look at how to set up reactive variables, how the GraphQL cache polices come

DDDaniel DonDaniel Don·November 27, 2020Engineering
Engineering — Copy Docs: Make Your Microcopy Full And Consistent, And Maintain It — Smashing Magazine

Copy Docs: Make Your Microcopy Full And Consistent, And Maintain It — Smashing Magazine

Copy docs is a framework that allows product designers and writers to manage their in-product copy in a smart way. In this article, Valeriia Panina shares her experience in how the copy docs technique turned out to be a game changer for her workflow. The copy docs technique was a game changer for Valeriia’s workflow and she’d be happy if it boosts yours, too!

VPValeriia PaninaValeriia Panina·November 26, 2020Engineering
Engineering — Playfulness In Code: Supercharge Your Learning By Having Fun — Smashing Magazine

Playfulness In Code: Supercharge Your Learning By Having Fun — Smashing Magazine

In the product-focused world of development, it can be easy to forget the joy of making for the sake of making. By dropping the ‘Why’ and ‘How’, and focusing instead on the ‘What’ of weird, wonderful ideas, you can nurture a totally different side to your skill sets. You can read the docs, you can follow the tutorials, but wouldn’t you be more motivated by trying to make something unique, somethin

JTJhey TompkinsJhey Tompkins·November 25, 2020Engineering
Frontend — Testing Vue Applications With The Vue Testing Library — Smashing Magazine

Testing Vue Applications With The Vue Testing Library — Smashing Magazine

The Vue Testing library can help you to test your applications by mirroring the way that a user would interact with them. Here’s everything you need to know if you want to get started right away. In this article, Kelvin Omereshone will look at testing Vue applications using the Vue Testing Library — a lightweight library that emphasizes testing your front-end application from the user’s perspectiv

KOKelvin OmereshoneKelvin Omereshone·November 24, 2020Frontend
Frontend — A Comparison Of async/await Versus then/catch — Smashing Magazine

A Comparison Of async/await Versus then/catch — Smashing Magazine

In JavaScript, there are two main ways to handle asynchronous code: then/catch (ES6) and async/await (ES7). These syntaxes give us the same underlying functionality, but they affect readability and scope in different ways. In this article, Bret Cameron will show you how one syntax lends itself to maintainable code, while the other puts us on the road to callback hell!

BCBret CameronBret Cameron·November 23, 2020Frontend
Career & Teams — What A Time To Be Smashing! — Smashing Magazine

What A Time To Be Smashing! — Smashing Magazine

With so much going on, it’s nice to have an overview of what’s new at Smashing — all in one place. Read on to find out what’s been keeping the team busy alongside some inspiring community resources that have made it to the top list of our newsletters!

ILIris LjesnjaninIris Ljesnjanin·November 20, 2020Career & Teams
Frontend — A Thoughtful Way To Use React’s useRef() Hook — Smashing Magazine

A Thoughtful Way To Use React’s useRef() Hook — Smashing Magazine

In a React component, `useState` and `useReducer` can cause your component to re-render each time there is a call to the update functions. In this article, you will find out how to use the `useRef()` hook to keep track of variables without causing re-renders, and how to enforce the re-rendering of React Components.

AIAleem IsiakaAleem Isiaka·November 19, 2020Frontend
Frontend — Standardizing Select And Beyond: The Past, Present And Future Of Native HTML Form Controls — Smashing Magazine

Standardizing Select And Beyond: The Past, Present And Future Of Native HTML Form Controls — Smashing Magazine

Working with native HTML Form Controls has been such a pain point for web developers, from styling to extending them, the limitations are so great that countless dev hours have been spent recreating them. But why are form controls so difficult to work with? In this article, Stephanie dives into the past by going back to the beginning of HTML and tracing the evolution of form controls through to th

SSStephanie StimacStephanie Stimac·November 18, 2020Frontend
Engineering — Creating A Continuous Integration Test Workflow Using GitHub Actions — Smashing Magazine

Creating A Continuous Integration Test Workflow Using GitHub Actions — Smashing Magazine

The convention when contributing to projects on version control platforms is that there is the main branch containing the functional codebase. Then, there are other branches in which several developers can work on copies of the main to either add a new feature, fix a bug, and so on. If there is any error, it can easily be traced and fixed before integrating the changes into the main branch. It can

FAFiyinfoluwa AkinsikuFiyinfoluwa Akinsiku·November 16, 2020Engineering
Frontend — What’s New In Vue 3? — Smashing Magazine

What’s New In Vue 3? — Smashing Magazine

Vue 3 comes with a lot of interesting new features and changes to some of the existing ones that are aimed at making development with the framework a lot easier and maintainable. In this article, we’re going to take a look at some of these new features and how to get started with them. We’re also going be taking a look at some of the changes done to the existing features.

TOTimi OmoyeniTimi Omoyeni·November 13, 2020Frontend
Design & UX — From The Experts: Global Digital Accessibility Developments During COVID-19 — Smashing Magazine

From The Experts: Global Digital Accessibility Developments During COVID-19 — Smashing Magazine

Robin Christopherson MBE, Head of Digital Inclusion at UK tech experts AbilityNet, has been hosting a series of monthly webinars with senior accessibility guests from global brands such as Microsoft and ATOS, and UK giants like Barclays and Sainsbury’s. They’re talking COVID, the challenges and opportunities the crisis brings, agile adjustments, digital inclusion and much, much more. Want food for

RCRobin ChristophersonRobin Christopherson·November 12, 2020Design & UX
Security — Authenticating React Apps With Auth0 — Smashing Magazine

Authenticating React Apps With Auth0 — Smashing Magazine

An important aspect of app development is ensuring that only verified users have access to our apps. This can be tedious and costly do, especially when you add alternative methods of logging in outside emails and passwords. Auth0 is a service that provides authentication functionalities to developers out of the box. In this article, we’ll learn how to authenticate our React apps using Auth0. We wi

NENefe Emadamerho AtoriNefe Emadamerho Atori·November 11, 2020Security
Design & UX — Best Practices For E-Commerce UI Design — Smashing Magazine

Best Practices For E-Commerce UI Design — Smashing Magazine

The goal of e-commerce design is to create interfaces that won’t get in the way of the overall shopping experience. In this post, Suzanne Scacca is going to look at three key parts of a digital store and show you what you can do to design each to help customers more quickly and effortlessly get to the checkout stage.

SSSuzanne ScaccaSuzanne Scacca·November 10, 2020Design & UX
Frontend — A Dive Into React And Three.js Using react-three-fiber — Smashing Magazine

A Dive Into React And Three.js Using react-three-fiber — Smashing Magazine

`react-three-fiber` is a powerful Three.js renderer that helps render 3D models and animations for React and its native applications. Today, Fortune Ikechi is going to show you how to configure and use react-three-fiber for building and displaying 3D models and animations in React and React Native applications. By building our 3D ludo dice box, you’ll learn about the basics of Three.js alongside i

FIFortune Ikechi·November 9, 2020Frontend
Engineering — Building Serverless Front-End Applications Using Google Cloud Platform — Smashing Magazine

Building Serverless Front-End Applications Using Google Cloud Platform — Smashing Magazine

The use of serverless applications by developers to handle the business logic of their applications in on the high increase, but how does the Google Cloud — a major service provider within the public cloud — allow developers to manage serverless applications? In this article, you will learn what serverless applications are, how they are used on the Google Cloud, and also scenarios in which they ca

NVNwani VictoryNwani Victory·November 6, 2020Engineering
Engineering — Data Visualization With ApexCharts — Smashing Magazine

Data Visualization With ApexCharts — Smashing Magazine

In this article, you will be exposed to ApexCharts and to the different types and variants of charts it provides. Along the way, we’ll build several types of charts and learn how we can customize the appearance of our charts. By the end of the article, you will be able to integrate different types and variants of chats in your applications with ApexCharts.

NENefe Emadamerho AtoriNefe Emadamerho Atori·November 5, 2020Engineering
Design & UX — Internationalization And Localization For Static Sites — Smashing Magazine

Internationalization And Localization For Static Sites — Smashing Magazine

Internationalization and localization is more than just writing your content in multiple languages. You need a strategy to determine what localization to send, and code to do it. You need to be able to support not just different languages, but different regions with the same language. Your UI needs to be responsive, not just to screen size, but to different languages and writing modes. Your conten

SRSam RichardSam Richard·November 4, 2020Design & UX
Engineering — What Can Web Designers Do With Their Unused Designs? — Smashing Magazine

What Can Web Designers Do With Their Unused Designs? — Smashing Magazine

Do you have a hard time throwing away mockups, logos and other content you’ve created for clients? The good news is that you don’t have to see rejected or unused designs as a sign of failure or waste. You can actually repurpose them and give them new life on other projects, for other customers, and even within your own business. I’ll explain four ways to do this in this post.

SSSuzanne ScaccaSuzanne Scacca·November 3, 2020Engineering
Frontend — Native CSS Masonry Layout In CSS Grid — Smashing Magazine

Native CSS Masonry Layout In CSS Grid — Smashing Magazine

There is now a specification for native CSS masonry layout, as part of the Grid Layout spec. In this article, Rachel Andrew will explain the draft spec, with examples that you can try out in Firefox Nightly. While this is a feature you won’t be able to use in production right now, your feedback would be valuable to help make sure it serves the requirements that you have for this kind of layout. So

RARachel AndrewRachel Andrew·November 2, 2020Frontend
Engineering — Be Kind, Be Curious (November 2020 Wallpapers Edition) — Smashing Magazine

Be Kind, Be Curious (November 2020 Wallpapers Edition) — Smashing Magazine

Give your desktop a makeover with this new collection of wallpapers. Designed by the community for the community, the wallpapers come in versions with and without a calendar for November 2020. Since so many beautiful and inspiring designs have seen the light of day as a part of this ongoing series, we browsed through our archives on the look for November goodies from the past. You’ll find a select

CMCosima MielkeCosima Mielke·October 31, 2020Engineering
Engineering — The Principles Of Visual Communication — Smashing Magazine

The Principles Of Visual Communication — Smashing Magazine

We’re taught to communicate with words. We write essays, prepare speeches, and take written notes. But words aren’t always the best option for conveying information and ideas. Sometimes the best way to tell stories is through thoughtfully crafted visuals, not long paragraphs of text. Visual storytelling is the process of conveying ideas using things you can see. In this article, Elizabeth Lin will

ELElizabeth LinElizabeth Lin·October 30, 2020Engineering
Frontend — How To Build A GraphQL Server Using Next.js API Routes — Smashing Magazine

How To Build A GraphQL Server Using Next.js API Routes — Smashing Magazine

With this guide, Ibrahima Ndaw will teach you the basics of Next.js API Routes. He will start by explaining what they are and why API Routes are useful compared to REST or GraphQL APIs. Then, he will guide you through a step by step tutorial on how to build your very first GraphQL server with Next.js and the Github API. If you want to extend your React or Next.js skills to the server-side and be a

INIbrahima NdawIbrahima Ndaw·October 29, 2020Frontend
Engineering — How We Run Online Workshops — Smashing Magazine

How We Run Online Workshops — Smashing Magazine

Many companies had to struggle in one way or another in the last couple of months. We had to get creative, and we had to rethink our conferences and workshops altogether. In this article, CEO and co-founder Vitaly Friedman shares how Smashing runs online workshops and online conferences these days, and the lessons learned along the way.

VFVitaly FriedmanVitaly Friedman·October 28, 2020Engineering
Security — Authentication In Vue.js — Smashing Magazine

Authentication In Vue.js — Smashing Magazine

Every web application that handles user-specific data needs to implement authentication. Knowing how to do this is important for Vue developers, and that’s what this article aims to shed the spotlight on. Today, Precious Ndubueze brings you a tutorial that will prove to be useful for beginner developers who want to learn about authentication in Vue. In order to be able to follow along, you’ll need

PNPrecious NdubuezePrecious Ndubueze·October 27, 2020Security
Frontend — Introducing Framer Motion — Smashing Magazine

Introducing Framer Motion — Smashing Magazine

Animations, when done right, are powerful. However, creating eye-catching animations with CSS can be tricky. In comes Framer Motion. With Framer Motion, you don’t need to be a CSS expert to make beautiful animations. Framer Motion provides us with production-ready animations and a low-level API we can interact with to integrate these animations into our applications.

NENefe Emadamerho AtoriNefe Emadamerho Atori·October 26, 2020Frontend
Security — How To Overcome Data Onboarding Challenges For Software Products — Smashing Magazine

How To Overcome Data Onboarding Challenges For Software Products — Smashing Magazine

Data onboarding with a custom-built solution can be a difficult and error-prone process. Now imagine what happens when you increase the complexity, allowing for different file types, more users, varying sources and a greater need for security and compliance. It shouldn’t be up to your software end users to work out the kinks of your data onboarding, nor should your team have to do it. In this post

SSSuzanne ScaccaSuzanne Scacca·October 23, 2020Security
Frontend — Getting Started With Next.js — Smashing Magazine

Getting Started With Next.js — Smashing Magazine

Next.js is a React framework that is bound to ease your life as a React developer by abstracting away the common and redundant tasks (such as routing) into relatively simpler and powerful APIs. That way, you can focus on writing your apps instead of reinventing the wheel. This tutorial will be beneficial to developers who are looking to get started with Next.js or have already begun but need to fi

AAAdebiyi AdedotunAdebiyi Adedotun·October 22, 2020Frontend
Performance — Speed Up Your Workflow With Figma Plugins — Smashing Magazine

Speed Up Your Workflow With Figma Plugins — Smashing Magazine

There are hundreds of Figma plugins available as of today, yet the Figma plugin search functionality is pretty basic and at times it can be very difficult to find the right plugin for a certain task. Today, Abel Hancock will take you into an in-depth look at several plugins that can speed up your design workflow. **Note**: *This article is aimed at user interface designers who use Figma on a daily

AHAbel HancockAbel Hancock·October 21, 2020Performance
Engineering — A Monthly Update With New Guides And Community Resources — Smashing Magazine

A Monthly Update With New Guides And Community Resources — Smashing Magazine

It’s time for another monthly update! The best way to get better together is by learning from each other, and what better way is there than to promote new ideas and the way forward for the web industry. A quick peek at our ever-growing guides will show you that we’re dedicated in bringing together a variety of topics that will help us all explore and learn new things. Join us as we share the lates

ILIris LjesnjaninIris Ljesnjanin·October 16, 2020Engineering
Frontend — Supercharge Testing React Applications With Wallaby.js — Smashing Magazine

Supercharge Testing React Applications With Wallaby.js — Smashing Magazine

Ever had to switch your focus from your editor and to your terminal to see the results of your tests? This article will introduce you to Wallaby.js — a JavaScript productivity tool that supercharges your IDE by allowing you to get real-time feedback on your JavaScript tests in your code editor even before saving the file. You will also learn how to use Wallaby.js for testing React applications. No

KOKelvin OmereshoneKelvin Omereshone·October 16, 2020Frontend
Frontend — Managing Long-Running Tasks In A React App With Web Workers — Smashing Magazine

Managing Long-Running Tasks In A React App With Web Workers — Smashing Magazine

In this tutorial, Chidi Orji is going to show you how to use the [Web Worker API](https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API) to manage time-consuming and UI-blocking tasks in a JavaScript app by building a sample web app that leverages Web Workers. Finally, we’ll end the article by transferring everything to a React application. If you need more insights into this topic, Chi

COChidi OrjiChidi Orji·October 15, 2020Frontend
Frontend — React Form Validation With Formik And Yup — Smashing Magazine

React Form Validation With Formik And Yup — Smashing Magazine

Forms are an integral part of how users interact with our websites and web applications. Validating the data the user passes through the form is a critical aspect of our jobs as web developers. However, it doesn’t have to be a pain-staking process. In this article, Nefe Emadamerho-Atori will show you how Formik handles the state of the form data, validates the data, and handles form submission.

NENefe Emadamerho AtoriNefe Emadamerho Atori·October 12, 2020Frontend
Frontend — Using WebXR With Babylon.js — Smashing Magazine

Using WebXR With Babylon.js — Smashing Magazine

In this overview of WebXR technologies and the Babylon.js framework, we’ll embark on a journey through the past, present, and future of mixed reality both on the web and on immersive headsets. We’ll inspect the underpinnings of WebXR and the most important aspects of the WebXR Device API before turning our attention to Babylon.js, a framework for building immersive applications in JavaScript for w

PSPreston SoPreston So·October 9, 2020Frontend
Performance — How To Manage File Uploads In React With Google Storage And GraphQL — Smashing Magazine

How To Manage File Uploads In React With Google Storage And GraphQL — Smashing Magazine

From a user’s profile picture to other media assets, data collection and storage to cloud services through file uploads have become an essential feature for most modern applications. Today, Nwani Victory will show you how to file uploads that can be implemented in a GraphQL application. This article will be beneficial to developers who are interested in or considering using Google Cloud Storage fo

NVNwani VictoryNwani Victory·October 8, 2020Performance
Frontend — Master TypeScript In 50 Short Lessons — Smashing Magazine

Master TypeScript In 50 Short Lessons — Smashing Magazine

Meet our new book, “TypeScript in 50 Lessons”, a deep-dive to understand what TypeScript is, how it works, and how you can make it work for you. With code walkthroughs, hands-on examples and common gotchas. 464 pages. Jump to table of contents and get the book right away.

VFVitaly FriedmanVitaly Friedman·October 7, 2020Frontend
Engineering — Developing For The Semantic Web — Smashing Magazine

Developing For The Semantic Web — Smashing Magazine

The dream of a machine-readable Internet is as old as the Internet itself, but only in recent years has it really seemed possible. The benefits of developing for the Semantic Web are not always immediate, or visible, but every site that does strengthens the foundations of an open, transparent, decentralized internet. As major websites take strides towards data-fying their content, now’s the perfec

FOFrederick O BrienFrederick O Brien·October 7, 2020Engineering
Engineering — Do Website Policy Disclosure Pages Always Have To Be So Ugly? — Smashing Magazine

Do Website Policy Disclosure Pages Always Have To Be So Ugly? — Smashing Magazine

In some instances, privacy policy, terms of use, and cookie consent pages do have to be ugly. But that doesn’t mean you can’t improve upon how easy they are to read or navigate (which visitors will definitely appreciate). Today, we’re going to look at four ways that web designers can contribute to getting more policy disclosure pages read and terms actually agreed to.

SSSuzanne ScaccaSuzanne Scacca·October 6, 2020Engineering
Frontend — Useful Tools In Vue.js Web Development — Smashing Magazine

Useful Tools In Vue.js Web Development — Smashing Magazine

There are some tools that developers that are just getting started with Vue or sometimes, have experience building with Vue sometimes do not know exist to make development in Vue a lot easier. Today, Timi Omoyeni is going to show you a few of these libraries, what they do, and how to use them during development. This tutorial is aimed at beginners that either just started learning about Vue or alr

TOTimi OmoyeniTimi Omoyeni·October 5, 2020Frontend
Frontend — How To Use Face Motion To Interact With Typography — Smashing Magazine

How To Use Face Motion To Interact With Typography — Smashing Magazine

In this article, Edoardo Cavazza will show you how to use face recognition with Tensorflow in order to extract some information from the camera, such as the distance between the screen and user’s face or the amount of people reading the page. Then, we will pass those data to CSS in order to adapt typography and to adjust the page layout.

ECEdoardo CavazzaEdoardo Cavazza·October 2, 2020Frontend
Frontend — Understanding TypeScript Generics — Smashing Magazine

Understanding TypeScript Generics — Smashing Magazine

An introduction to the utilization of Generics in TypeScript with examples grounded in real-world use cases, such as collections, approaches to error handling, the Repository Pattern, and so on. With this article, Jamie Corkhill hopes to provide an intuitive understanding of the notion of software abstraction through Generics.

JCJamie CorkhillJamie Corkhill·October 1, 2020Frontend
Design & UX — 5 Ways Google Analytics Helps Web Developers In UI/UX Design — Smashing Magazine

5 Ways Google Analytics Helps Web Developers In UI/UX Design — Smashing Magazine

Ever wondered what all those Google Analytics code snippets are for and why your marketing team regularly asks you to add a new one? For most web developers, their involvement with Google Analytics ends with just installing the base code for pageviews. In this article, Clara Buenconsejo will look at 5 features in Google Analytics that can help web developers and designers in making a better user e

CBClara BuenconsejoClara Buenconsejo·September 30, 2020Design & UX
Design & UX — Squirrels, Ghosts, And Moonlight: Tales From October (2020 Wallpapers Edition) — Smashing Magazine

Squirrels, Ghosts, And Moonlight: Tales From October (2020 Wallpapers Edition) — Smashing Magazine

Get ready for autumn and the upcoming Halloween season with beautiful and inspiring wallpapers. Created by the community for the community, the wallpapers in this post all come in versions with and without a calendar, so no matter if you want to count down the days to a big deadline or stick with your favorite design after the month has ended, we’ve got you covered. Speaking of favorites: As a lit

CMCosima MielkeCosima Mielke·September 30, 2020Design & UX
Frontend — Unit Testing In React Native Applications — Smashing Magazine

Unit Testing In React Native Applications — Smashing Magazine

Unit testing has become an integral part of the software development process. It is the level of testing at which the components of the software are tested. In this article, Fortune Ikechi will show you the core principles of testing, explore various libraries for testing an application, and see how to test units (or components) of a React Native application. By working with a React Native applica

FIFortune Ikechi·September 29, 2020Frontend
Design & UX — Different Ways To Design Digital Product Pages — Smashing Magazine

Different Ways To Design Digital Product Pages — Smashing Magazine

Digital content (eBooks, stock media and courses) can easily be advertised and sold through online marketplaces. But your clients won’t make as much money that way and really can’t control how their products are marketed. By designing digital product pages for smartphone users who are in that early discovery and research phase, your clients can make more money off of their products. Today, Suzanne

SSSuzanne ScaccaSuzanne Scacca·September 28, 2020Design & UX