DEV Community

loading...

Discussion on: The shape of the CMS to come

Collapse
matfrana profile image
Matteo Frana Author

Yes. I feel much more productive with React components as blocks than creating custom blocks with Gutenberg. It is also much simpler to render them with a React-based frontend like Next or Gatsby.

Collapse
matthijsewoud profile image
⚡️

To me it’s not a choice of one versus the other. I have a couple of projects that have custom React components. I render those components on the front-end, and also import and use the components within the Gutenberg block. That way they share code, and stay dynamic.

I can even put children blocks within the custom component, and it will render. Especially handy for things like InpectorControls.