-
Safely Using Strings Containing Markup in React with DOMParser
For the Web Stories WordPress plugin I came up with a solution to parse strings containing markup in a React application by leveraging the DOMParser interface. This is especially useful when dealing with translations where you would want to avoid any string concatenation. I’ve previously written quite a bit on JavaScript internationalization in WordPress 5.0+.…
-
Web Stories in Swiss German
Grüezi! When I talk about my current projects in public, I usually do so in German or in English. Recently, I got the chance to speak about Web Stories in Swiss German as part of Chrome’s International Mother Language Day celebration series. If you want to learn about Web Stories and learn Swiss German, here’s…
-
Automated AMP Validation using Jest and Puppeteer
I’ve previously written about how I’ve implemented automated AMP validation using Jest and AMP Optimizer for the Web Stories WordPress plugin. The context there was that we’re writing unit tests using Jest and wanted a way to verify AMP validity of individual components. Recently, we were in a situation were we needed this AMP validation…
-
Automated AMP Validation using Jest and AMP Optimizer
Learn how you can leverage the powers of the AMP Validator and AMP Optimizer within your development workflow to catch regressions using Jest.
-
Improving WordPress Internationalization with ESLint
Avid readers will already know that I am very passionate about internationalization (I18N). Some of my most popular blog posts are about that topic: WordPress Internationalization Workflows Internationalization in WordPress 5.0 The Text Domain in WordPress Internationalization Internationalization is an important aspect in WordPress development as it lays the foundation for a project’s global success.…