Learning Gutenberg: What is Gutenberg, Anyway?

Gutenberg is the new React-driven SPA editing experience in WordPress. Oh wait, a string of buzzwords doesn’t count for a viable explanation of software? We’re going to unpack that string of buzzwords as we explain what Gutenberg is.

Article Series:

  1. Series Introduction
  2. What is Gutenberg, Anyway? (This Post)
  3. A Primer with create-guten-block (Coming Soon!)
  4. Modern JavaScript Syntax (Coming Soon!)
  5. React 101 (Coming Soon!)
  6. Setting up a Custom webpack (Coming Soon!)
  7. A Custom “Card” Block (Coming Soon!)

First, a before-and-after screenshot …

The post Learning Gutenberg: What is Gutenberg, Anyway? appeared first on CSS-Tricks.

Read more

Learning Gutenberg: Series Introduction

Hey CSS-Tricksters! 👋 We have a special long-form series we’re kicking off here totally dedicated to Gutenberg, a major change to the WordPress editor. I’ve invited a dynamic duo of authors to bring you this series, which will bring you up to speed on what Gutenberg is, what it can do for your site, and how you can actually develop for it.

Who this is for

This series is more for developers who are curious about this new world …

The post Learning Gutenberg: Series Introduction appeared first on CSS-Tricks.

Read more

Foreword for CSS In Depth

Keith Grant recently released a brand new book on CSS: CSS in Depth. If you’re looking for a book focused specifically on learning CSS, you’ve found it. I was happy to write the foreword for it, which I’ll republish here.


“A minute to learn… A lifetime to master.” That phrase might feel a little trite these days, but I still like it. It was popularized in modern times by being the tagline for the board game Othello. In Othello, …

The post Foreword for CSS In Depth appeared first on CSS-Tricks.

Read more

Custom List Number Styling

How about a classic CSS trick! This isn’t even so tricky anymore, since CSS has counter-increment and counter-reset and such that is perfect for this. I just wanted to make sure you knew how it works and had some easy-to-copy examples at the ready.

Let’s say all you wanna do is style the dang numbers:

See the Pen Custom List Style 2 by Chris Coyier (@chriscoyier) on CodePen.

Here’s an example from the CodePen Challenges pages:

See …

The post Custom List Number Styling appeared first on CSS-Tricks.

Read more

Plugin Review Team to Close Unused Plugins

The thousands of plugins in the repository are what make WordPress so powerful. With these plugins, you can mold the CMS into anything you need; finding and downloading any capability you might need to make your site work for you. However, not all of these plugins are being used. The WordPress.org Plugin Review Team announced …
The post Plugin Review Team to Close Unused Plugins appeared first on Torque.
Read more

Build Nodejs APIs Using Serverless

Simona Cotin did a great talk at Microsoft Build about Serverless technologies, called “Build Node APIs Using Serverless.” In this talk, she addresses pretty much every major gotcha that you might run into while creating Serverless infrastructure for JavaScript applications. Some of the topics included, but are not limited to:

  • CORS
  • Local Debugging with VS Code
  • Installing npm packages
  • Configuring REST-like URLs
  • Saving environment variables

All in all, it’s one of the best talks on Serverless I’ve seen, and if …

The post Build Nodejs APIs Using Serverless appeared first on CSS-Tricks.

Read more

What You Should Do Before Changing Your Theme

One of the benefits of WordPress is the ability to change themes as often as you want. You can use themes and plugins to extend the functionality of your website so that you can get the site of your dreams, and with thousands of themes in the WordPress repository and elsewhere, there is practically no …
The post What You Should Do Before Changing Your Theme appeared first on Torque.
Read more

How React Reconciliation Works

React is fast! Some of that speed comes from updating only the parts of the DOM that need it. Less for you to worry about and a speed gain to boot. As long as you understand the workings of setState(), you should be good to go. However, it’s also important to familiarize yourself with how this amazing library updates the DOM of your application. Knowing this will be instrumental in your work as a React developer.

The DOM?

The …

The post How React Reconciliation Works appeared first on CSS-Tricks.

Read more