Gutenberg: Custom Blocks Only

[ad_1]

Hi guys,

A little bit of background before I get into it. I’m a Web Developer with experience in React and WordPress. 80% of my web builds use WordPress, as clients just generally prefer it to JAM Stack sites. I’ve fully adopted Gutenberg blocks, and dipped my toe in on FSE WordPress sites/block themes.

I’ve been thinking about creating a boilplate theme completely made out of custom blocks. The idea behind it being, the core blocks don’t have all the requirements I typically need for a custom web build. Adding additional attributes & markup is more complicated and messy than editing a render.php file on a dynamic block. Not to mention if I make updates to a core block’s code after launch, it usually requires me to ‘attempt a recovery’ on said blocks that are already in use.

I also don’t love that WordPress updates can impact existing blocks, granted this is rarely groundbreaking, but it can happen. At least with custom coded blocks, I’d know they’d, *in theory*, “never” break due to an update.

This isn’t to say some core blocks don’t have their place. The heading, paragraph and list blocks to name a few, all work perfectly well for 95% of custom web builds, for obvious reasons.

The custom blocks I’d create would have minimal styling, so I could easily pick them up and run with them on new site builds, adding markup and functionality to the foundation.

I’d like to get your thoughts on this, as I can see some potential drawbacks too.

Appreciate your time.

[ad_2]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer