I like Gutenberg, but I still feel like the developer experience isn't great. It's mostly geared towards designers or end users who want a blank canvas to drag and drop components to. However, as an agency, design and brand cohesion is really important. Many times, for specific campaigns we don't want the user to go outside of the brand guidelines and sometimes that means very specifically designed blocks. In that case, writing a new block becomes pretty laborious between trying to create things in WordPress, copy/pasting HTML comments with embedded JSON into files, writing a React component for the backend view, another one for the frontend view, and some REST endpoints for interactivity. It's not that it's unsurmountable, but since the tools are not quite baked yet, it does create a lot of friction.
@DavidBell-qq1sd
5 ай бұрын
Template parts? Yeah, worst naming ever in the history of the Interwebs! No FSE for me ever!
Пікірлер: 6