We've already looked at the importance of blocks in organizing the structure of content and keeping them as independent components. Reusability is another advantage of this block-based editor. By default, we get a set of blocks built into WordPress. We can reuse them multiple times within a single post/page without duplicating a large amount of code. The new editor also provides features that we can use to create custom blocks and reuse them across multiple posts or pages.
In this recipe, we are going to look at the process of creating reusable blocks and using them inside the editor.