Quick Review: Introduction to Web Accessibility (W3Cx Course)
Early December, last year, I came across a tweet announcing a free online course on Web Accessibility. I signed up for the course, and I completed it about a week ago. Contents The course is structured into five different modules: One important thing to note: the course is not designed for technical people only. While […]
Inclusive Writing
Quite often, when I read through posts on various external but also company-internal blogs that I subscribed to, I stumble over this or that abbreviation or acronym, or sometimes a word that I simply don’t get in the current context. “The best thing to do here is to use a HOC.” — House of Cards? […]
How WordPress 5.3 Might Break Your Editor Screen
This post comes in three parts. In the first, I present the problem I was facing when upgrading a site that was running on WordPress 5.2.x and no Gutenberg plugin. The second part is about the solution I found, which I think is no more than a workaround fix, actually. In the third part, I […]
Switching Between Branches with Different node_modules Folders
Every once in a while, I find myself in the situation of needing to change quite a few JavaScript dependencies. And oftentimes, this means that I would need to switch between two branches with rather different node_modules folders—which is a hassle. You too? Well, in this post, I will share how to do just that. […]
Making the Best of Config
Over the last half year, I have been looking into several of project repositories on GitHub, and I came across quite a few different ways of configuring (and using) various tools and services. In this post, I would like to share some simple, yet effective suggestions that, in my opinion, make for a much easier […]
Conditional Component Composition
In this post, I would like to share two related things that I have developed in the course of a recent client project: ConditionalComponent and composeIf. Conditional Components Sometimes there is the need to render one component or another, based on some condition or context. This is usually done by either an early return or […]
ABC – The Look of Love (in Code)
No, sorry, this is not about the song. But well, while you’re all here, why not start it in the background, and continue reading…? 😅 CONFLICT (some-branch): Merge conflict in some/file.here Over and over again, I encountered merge conflicts due to several people adding stuff to some kind of list by simply appending whatever they […]
How to Set up Modern PHP Coding Standards for WordPress
This post explains how to write WordPress code following modern PHP best practices, adhering to the official (or other established) coding standards.
How to Register Custom Block Categories in JavaScript
As you might know, the WordPress Block Editor (aka Gutenberg) makes use of Block Categories to structure the various registered blocks. This can be seen, for example, in the Block Picker: Now, what we often want or have to do is to register a custom block category. And that’s possible. The official way to do […]
24 Comments
This is a follow-up post on my 2017 idea to leave 24 comments in Advent, for Advent calendars or just any post. For 2018, I overhauled the idea bit.