Categories
Javascript

Arrow Functions – When Not to Use Them

Arrow functions can bring a couple of problems if you don’t fully understand how they work. I’ll show you a few common mistakes. By the end of this article, you should have a better understanding of when it makes sense to use regular functions. What are Arrow Functions? Arrow functions are a more concise way […]

Categories
Gutenberg

Using render_callback for the edit function

Have you ever wondered if there was an easy way to have a simple WP_Query as a custom Gutenberg block? There is!

Categories
Gutenberg

Gutenberg Block Assets – How to Enqueue them the right way

I’ve recently started learning how to create custom Gutenberg blocks and this was my very first question. How do I enqueue my Gutenberg block assets?