Home/Frontend
Topic

Frontend

1,551 articles on Frontend.

11,834 articles
Frontend — Using Mobx As A State Manager In React Native Applications — Smashing Magazine

Using Mobx As A State Manager In React Native Applications — Smashing Magazine

MobX is a battle-tested library that makes state management simple and scalable by transparently applying functional reactive programming. It treats your application like a spreadsheet, and it’s one of the many state management tools available to React developers. In this tutorial, Fortune Ikechi is going to show you how to use MobX to manage state in React Native applications by building a React

FIFortune Ikechi·August 26, 2020Frontend
Frontend — Plyr: CSS Styleable Video Player

Plyr: CSS Styleable Video Player

I just stumbled across Plyr from Sam Potts, a JavaScript library for styled video players. What struck me about it is that you can list YouTube videos as the

CCChris Coyier·August 19, 2020Frontend
Frontend — Mastering Props And PropTypes In React — Smashing Magazine

Mastering Props And PropTypes In React — Smashing Magazine

Props and PropTypes are an important mechanism for passing information between React components, and we’re going to look into them in great detail here. This tutorial will introduce you to the details about props, passing and accessing props, and passing information to any component using props. However, it’s always a good practice to validate the data we are getting through props by using PropTyp

ADAdeneye David AbiodunAdeneye David Abiodun·August 17, 2020Frontend
Frontend — CSS-Tricks Chronicle XXXIX

CSS-Tricks Chronicle XXXIX

Hey gang! I've been fortunate enough to be a guest in a variety of different here, so I thought it was time for another Chronicle post. You know, those

CCChris Coyier·August 14, 2020Frontend
Frontend — How To Configure Application Color Schemes With CSS Custom Properties — Smashing Magazine

How To Configure Application Color Schemes With CSS Custom Properties — Smashing Magazine

Splitting colors into three levels (palette, functional, and component) can help you be more adaptive to changes and new requirements while working on a project. In this article, Artur Basak introduces a modern approach on how to set up CSS Custom Properties that respond to the application colors. The idea of dividing colors into three levels can be quite useful: a palette (or scheme), functional

ABArtur BasakArtur Basak·August 11, 2020Frontend
Frontend — Better Error Handling In NodeJS With Error Classes — Smashing Magazine

Better Error Handling In NodeJS With Error Classes — Smashing Magazine

You can get by in NodeJS without properly handling errors but due to the asynchronous nature of NodeJS, improper handling or errors can cause you pain soon enough. This article is for JavaScript and NodeJS developers who want to improve error-handling in their applications. Kelvin Omereshone explains the `error` class pattern and how to use it for a better, more efficient way of handling errors ac

KOKelvin OmereshoneKelvin Omereshone·August 10, 2020Frontend
Frontend — HTML for Subheadings and Headings

HTML for Subheadings and Headings

Let's say you have a double heading situation going on. A little one on top of a big one. It comes up, I dunno, a billion times a day, I'd say. What HTML do

CCChris Coyier·August 6, 2020Frontend
Frontend — TypeScript, Minus TypeScript

TypeScript, Minus TypeScript

Unless you’ve been hiding under a rock the last several years (and let’s face it, hiding under a rock sometimes feels like the right thing to do), you’ve

CWCaleb WilliamsCaleb Williams·August 6, 2020Frontend
Frontend — A Practical Guide To Product Tours In React Apps — Smashing Magazine

A Practical Guide To Product Tours In React Apps — Smashing Magazine

Showcasing new product features to users or familiarizing them with some UI functionality in a web app can get tedious, especially when you want users to see a lot of things. In the following guide, BLessing Krofegha will show you how to proactively use product tours to onboard users into a new and complex UX, and how to familiarize them with UI functionality without boring them, using a typical R

BKBlessing KrofeghaBlessing Krofegha·August 6, 2020Frontend
Frontend — Warp SVG Online

Warp SVG Online

The warping is certainly the cool part here. Some fancy math literally transforms the path data to do the warping. But the UX detail work here is just as

CCChris Coyier·August 5, 2020Frontend
Frontend — Pcicrawler: A Python-based command-line interface tool to debug PCI issues at scale

Pcicrawler: A Python-based command-line interface tool to debug PCI issues at scale

What it is: A Python-based command-line interface tool that can be used to display, filter, and export information about Peripheral Component Interconnect (PCI) or PCI Express (PCIe) buses and devices, as well as PCI topology. We built pcicrawler to diagnose and debug PCIe issues at scale and help with automation. What it does: Pcicrawler provides […]

MEMeta Engineering·August 5, 2020Frontend
Frontend — Making Sense of react-spring

Making Sense of react-spring

Animation is one of the trickier things to get right with React. In this post, I’ll try to provide the introduction to react-spring I wish I had when I first

ARAdam RackisAdam Rackis·August 4, 2020Frontend
Frontend — Setting Up Redux For Use In A Real-World Application — Smashing Magazine

Setting Up Redux For Use In A Real-World Application — Smashing Magazine

Redux is a robust state-management library for single-page JavaScript apps. It is described on the official documentation as a predictable state container for Javascript applications and it’s fairly simple to learn the concepts and implement Redux in a simple app. Going from a simple counter app to a real-world app, however, can be quite the jump.

JNJerry NaviJerry Navi·August 3, 2020Frontend
Frontend — Making Facebook.com accessible to as many people as possible

Making Facebook.com accessible to as many people as possible

We recently shared the work we did to rebuild our tech stack to support the redesigned Facebook.com. When that project began, we saw an opportunity to integrate greater accessibility into the site and build it into the foundation in a way we couldn’t have done without this rebuild. The previous site had been built upon […]

MEMeta Engineering·July 30, 2020Frontend
Frontend — Understanding Client-Side GraphQl With Apollo-Client In React Apps — Smashing Magazine

Understanding Client-Side GraphQl With Apollo-Client In React Apps — Smashing Magazine

Ever tried interacting with a GraphQL server in a client-side application and felt like giving up even before getting anywhere? Ever declined an invitation to join a code base that requires working with GraphQL API because you had no idea? Ever felt like the only front-end engineer who hasn’t learned how to consume GraphQL APIs? If you answered yes to any of these questions, then this tutorial is

BKBlessing KrofeghaBlessing Krofegha·July 29, 2020Frontend
Frontend — CSS Vocabulary

CSS Vocabulary

This is a neat interactive page by Ville V. Vanninen to reference the names of things in the CSS syntax. I feel like the easy ones to remember are "selector,"

CCChris Coyier·July 27, 2020Frontend
Frontend — Create A Responsive Dashboard With Angular Material And ng2-Charts — Smashing Magazine

Create A Responsive Dashboard With Angular Material And ng2-Charts — Smashing Magazine

With Angular Material and ng2-charts, you can take advantage of schematics to cut down the effort and time you may spend building a dashboard. Schematics in Angular 9 are code generators that can create components and patterns in projects using predetermined templates and layouts. In this article, Zara Cooper explains how to take advantage of schematics in Angular Material and ng2-charts to substa

ZCZara CooperZara Cooper·July 27, 2020Frontend
Frontend — How To Use Styled-Components In React — Smashing Magazine

How To Use Styled-Components In React — Smashing Magazine

Styled components are “visual primitives for components”, and their goal is to give us a flexible way to style components. The result is a tight coupling between components and their styles. While the component-driven approach has ushered in a new frontier in the way we build web applications, it isn’t without its imperfections — one being its usability and scalability with CSS. This has given bir

AAAdebiyi AdedotunAdebiyi Adedotun·July 23, 2020Frontend
Frontend — Modern CSS Techniques To Improve Legibility — Smashing Magazine

Modern CSS Techniques To Improve Legibility — Smashing Magazine

Which aspects should we take into consideration when designing and developing for reading? How can we create accessible, comfortable, inclusive experiences for all readers, including the most challenged and those affected by dyslexia? In this article, Edoardo Cavazza will cover how we can improve websites legibility using some modern CSS techniques, great new technologies like variable fonts and p

ECEdoardo CavazzaEdoardo Cavazza·July 22, 2020Frontend
Frontend — Building Desktop Apps With Electron And Vue — Smashing Magazine

Building Desktop Apps With Electron And Vue — Smashing Magazine

Electron is an open-source software framework developed and maintained by GitHub. It allows for the development of desktop GUI applications using web technologies. In this tutorial, Timi Omoyeni explains what you need to keep in mind when building a desktop application with Vue.js using the [Vue CLI Plugin Electron Builder](https://nklayman.github.io/vue-cli-plugin-electron-builder/).

TOTimi OmoyeniTimi Omoyeni·July 21, 2020Frontend
Frontend — Translating Design Wireframes Into Accessible HTML/CSS — Smashing Magazine

Translating Design Wireframes Into Accessible HTML/CSS — Smashing Magazine

The most efficient way to build accessible websites and apps is to “shift left” by incorporating accessibility testing into the earliest stages of your development and design process. In this article, Harris Schneiderman will walk you through the process of analyzing a wireframe from an accessibility perspective and making coding decisions to optimize for accessibility in both design and developme

HSHarris SchneidermanHarris Schneiderman·July 21, 2020Frontend
Frontend — How To Build An Accessible Front-End Application With Chakra UI And Nuxt.js — Smashing Magazine

How To Build An Accessible Front-End Application With Chakra UI And Nuxt.js — Smashing Magazine

In this article, Kelvin Omereshone is going to be looking at how to use Chakra UI and NuxtJS in building accessible front-end applications. In order to follow along, you should be familiar with using the progressive front-end framework Vue.js with Nuxt. If not, see the Vue.js and NuxtJS docs to get started. In order to make the web more accessible, there are a couple of best practices and standard

KOKelvin OmereshoneKelvin Omereshone·July 20, 2020Frontend
Frontend — CSS Painting Order

CSS Painting Order

Usually, when I see terms like "painting order" or "stacking context" my brain will start to shut off and my eyes will gloss over. Not that my brain doesn't

GGGeoff GrahamGeoff Graham·July 17, 2020Frontend
Frontend — How to Italicize Text

How to Italicize Text

HTML and CSS offer us the ability to italicize text. I’m talking about text like this. Let’s cover everything you’ll need to know.

CCChris Coyier·July 17, 2020Frontend
Frontend — Backdrop Filter effect with CSS

Backdrop Filter effect with CSS

I love these little posts where some tricky-looking design is solved by a single line of CSS using a little-known property. In this case, the design is a

GGGeoff GrahamGeoff Graham·July 16, 2020Frontend
Frontend — An Introduction To Stimulus.js — Smashing Magazine

An Introduction To Stimulus.js — Smashing Magazine

In this article, Mike Rogers will introduce you to Stimulus, a modest JavaScript framework that complements your existing HTML. It allowed him to build applications in a way that feels reusable and approachable. While he doesn’t think Stimulus will take over the web like React and Vue have, he thinks it is a worthwhile tool to learn. By the end, you’ll have an understanding of the premise of Stimu

MRMike RogersMike Rogers·July 15, 2020Frontend
Frontend — Crowdfunding Web Platform Features With Open Prioritization — Smashing Magazine

Crowdfunding Web Platform Features With Open Prioritization — Smashing Magazine

In this article, Rachel Andrew takes a look at a new effort to crowdfund the costs of implementing browser features. She encourage developers to use, talk about, and raise implementation bugs with browsers to try to get features implemented, however, what if there was a more direct way to do so? What if web developers could get together and fund the development of these features? This article is b

RARachel AndrewRachel Andrew·July 13, 2020Frontend
Frontend — How To Create A Custom React Hook To Fetch And Cache Data — Smashing Magazine

How To Create A Custom React Hook To Fetch And Cache Data — Smashing Magazine

There is a high possibility that a lot of components in your React application will have to make calls to an API to retrieve data that will be displayed to your users. It’s already possible to do that using the `componentDidMount()` lifecycle method, but with the introduction of Hooks, you can build a custom hook which will fetch and cache the data for you. That’s what Ademola Adegbuyi will cover

AAAdemola AdegbuyiAdemola Adegbuyi·July 13, 2020Frontend
Frontend — CSS Transitions In Vuejs And Nuxtjs — Smashing Magazine

CSS Transitions In Vuejs And Nuxtjs — Smashing Magazine

Transitions are a nice way to remove, change, or update data in an application because their occurrence adds a nice effect and is good for the user experience. In this tutorial, Timi Omoyeni will look at the different ways to apply transitions in both Vue.js and Nuxt.js applications. Using these transitions in your applications and websites create a better visual experience and sometimes draws and

TOTimi OmoyeniTimi Omoyeni·July 10, 2020Frontend
Frontend — Frontity is React for WordPress

Frontity is React for WordPress

Some developers just prefer working in React. I don't blame them really, because I like React too. Maybe that's what they learned first. I've been using it

CCChris Coyier·July 9, 2020Frontend
Frontend — CSS News July 2020 — Smashing Magazine

CSS News July 2020 — Smashing Magazine

If you are the sort of person who doesn’t like reading about things if you can’t use them now, then this article probably isn’t for you — we have many others for you to enjoy instead! However, if you like to know what is on the way and read more about the things you can play with in a beta version of a browser, read on! Today, Rachel Andrew takes a look at some of the interesting CSS features that

RARachel AndrewRachel Andrew·July 7, 2020Frontend
Frontend — Bootstrap 5

Bootstrap 5

It's always notable when the world biggest CSS framework goes up a major version (it's in alpha now).

CCChris Coyier·July 6, 2020Frontend
Frontend — How To Test Your React Apps With The React Testing Library — Smashing Magazine

How To Test Your React Apps With The React Testing Library — Smashing Magazine

Testing gives confidence in written code. In the context of this article, ‘testing’ means ‘automated testing’. Without automated testing, it is significantly harder to ensure the quality of a web application of significant complexity. Fails caused by automated testing may lead to more bugs in production. In this article, Chidi Orji is going to show you how React developers can quickly start testin

COChidi OrjiChidi Orji·July 3, 2020Frontend
Frontend — A First Look at Reanimated 2 - Shopify

A First Look at Reanimated 2 - Shopify

With Reanimated 2, the team at Software Mansion asked: “How would it look if there were no constraints when writing gestures and animations in React Native?” and started from there.

SEShopify Engineering·July 2, 2020Frontend
Frontend — Differences Between Static Generated Sites And Server-Side Rendered Apps — Smashing Magazine

Differences Between Static Generated Sites And Server-Side Rendered Apps — Smashing Magazine

Statically generated sites or pre-rendering and server-side rendered applications are two modern ways to build front-end applications using JavaScript frameworks. These two modes, yet different, are often mixed up as the same thing and in this tutorial, Timi Omoyeni is going to show you the differences between them. You’ll learn what a server-side-rendered application is, as well as learn about fr

TOTimi OmoyeniTimi Omoyeni·July 2, 2020Frontend