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]