Read more about the article Building custom blocks for WordPress