Annotated Build Processes

When you’re putting together a build process for a site, it’s so dang useful to look at other people’s processes. I ran across Andrew Welch’s “An Annotated webpack 4 Config for Frontend Web Development” the other day and was glad he blogged it. If I was kicking off a new site where I wanted a webpack build, then I’d almost certainly reference something like this rather than start from scratch. At the same time, it made me realize how build …

The post Annotated Build Processes appeared first on CSS-Tricks.

Read more

Making SVG icon libraries for React apps

Nicolas Gallagher:

At Twitter I used the approach described here to publish the company’s SVG icon library in several different formats: optimized SVGs, plain JavaScript modules, React DOM components, and React Native components.

There is no One True Way© to make an SVG icon system. The only thing that SVG icon systems have in common is that, somehow, some way, SVG is used to show that icon. I gotta find some time to write up a post that goes …

The post Making SVG icon libraries for React apps appeared first on CSS-Tricks.

Read more

Two Ways to Build a Site That Seem Super Different But Weirdly Aren’t That Different

Here are two ways to build a site (abstractly) that feel diametrically opposed to me:

  1. Build a site as an SPA (Single Page App). The page loads a skeleton HTML page that executes JavaScript as quickly as it can. The JavaScript calls an API to get data, and then the page renders content. Navigation of the site is more API calls to get the data it needs and re-rendering.
  2. Build a site as statically-generated. A build process runs in which

The post Two Ways to Build a Site That Seem Super Different But Weirdly Aren’t That Different appeared first on CSS-Tricks.

Read more

The 10 Best Photoshop Alternatives for Mac (2019)

You don’t have to use Adobe Photoshop on your Mac to edit images like a pro. There are plenty of Photoshop alternatives for Mac that you can download or use in-browser to create just the right images and graphics for your projects. And some of them are completely free! None of these are necessarily one-size-fits-all […]
Read more

50+ Best Slab Serif Fonts of 2019

Slab serif fonts can be used for a variety of purposes, ranging from general body text to headlines, to display copy. It’s a typography variant that has been used widely for digital as well as print purposes, and devices such as Amazon Kindle even use a slab serif as their default font. In order to […]
Read more

JavaScript to Native (and Back!)

I admit I’m quite intrigued by frameworks that allow you write apps in web frameworks because they do magic to make them into native apps for you. There are loads of players here. You’ve got NativeScript, Cordova, PhoneGap, Tabris, React Native, and Flutter. For deskop apps, we’ve got Electron.

What’s interesting now is to see what’s important to these frameworks by honing in on their focus. Hummingbird is Flutter for the web. (There …

The post JavaScript to Native (and Back!) appeared first on CSS-Tricks.

Read more

Get Inspiration With These Awesome App Landing Page Designs

It’s almost impossible to imagine a successful tech business without a beautiful website. No matter what sort of digital business you run, it’s important to reach out to your customers and spread the word about your new products. Especially in a dynamic, fast-changing digital environment. This means your product has to be visible and accessible …
The post Get Inspiration With These Awesome App Landing Page Designs appeared first on Torque.
Read more