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 […]
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 […]
How to Test Container Components in React
Assuming you would want to unit-test container components in React (i.e., connected components in a Redux-based project), or any component that is wrapped in a higher-order component (HOC) etc. really, here’s a simple thing you should always do: 👉 Also export the “naked” component! I am talking about something like this: // … export { […]
The Gutenberg Development Course by Zac Gordon
In this post, I briefly review the new Gutenberg Development course by Zac Gordon. Hint: It is awesome, and you should sign up for it right away.
Interview with Wes Bos about WordPress, JavaScript and React
I did an interview with JavaScript and, in particular, React mastermind Wes Bos about a possible future of WordPress and the JavaScript framework React.