{"id":7936,"date":"2024-01-30T02:44:43","date_gmt":"2024-01-29T18:44:43","guid":{"rendered":"https:\/\/asia.wordcamp.org\/2024\/?post_type=wcb_session&#038;p=7936"},"modified":"2024-02-08T20:25:19","modified_gmt":"2024-02-08T12:25:19","slug":"the-block-developers-cookbook","status":"publish","type":"wcb_session","link":"https:\/\/asia.wordcamp.org\/2024\/session\/the-block-developers-cookbook\/","title":{"rendered":"The Block Developer&#8217;s Cookbook"},"content":{"rendered":"\n<p>I have been building blocks since WordPress 5.0 both for clients and as part of my regular live streams. Along the way, I have run into issues, gotchas, and A LOT of &#8220;how the heck do I do that?!&#8221; moments. While I don&#8217;t pretend to be an expert, I do have a fair amount of experience in the &#8220;trenches&#8221; of building custom blocks and have compiled a list of some of the things that most WordPress developers need to be able to do when creating custom blocks or extending the existing ones.<\/p>\n\n\n\n<p>In this interactive workshop aimed at developers, the attendees will choose from a list of recipes and we&#8217;ll go over them together!<\/p>\n\n\n\n<p>Recipes includes:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Block variations<\/li>\n\n\n\n<li>Block deprecations<\/li>\n\n\n\n<li>Block transforms<\/li>\n\n\n\n<li>Block templates<\/li>\n\n\n\n<li>Block context<\/li>\n\n\n\n<li>Converting an existing static block to a dynamic one (and why you should only use dynamic blocks)<\/li>\n\n\n\n<li>Using the create-block package and its most powerful feature: External project templates<\/li>\n\n\n\n<li>Customizing your @wordpress\/scripts build process.<\/li>\n\n\n\n<li>Connecting your block to meta data.<\/li>\n\n\n\n<li>Front end JavaScript for your blocks.<\/li>\n\n\n\n<li>Using filters to extend the core blocks.<\/li>\n\n\n\n<li>Use the data layer in a block.<\/li>\n\n\n\n<li>Creating an interactive block.<\/li>\n\n\n\n<li>and more &#8230;<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>I have been building blocks since WordPress 5.0 both for clients and as part of my regular live streams. Along the way, I have run into issues, gotchas, and A LOT of &#8220;how the heck do I do that?!&#8221; moments. While I don&#8217;t pretend to be an expert, I do have a fair amount of [&hellip;]<\/p>\n","protected":false},"author":7543064,"featured_media":8715,"template":"","meta":{"advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"jetpack_post_was_ever_published":false,"_wcpt_session_time":1709863200,"_wcpt_session_duration":7200,"_wcpt_session_type":"session","_wcpt_session_slides":"","_wcpt_session_video":"","_wcpt_speaker_id":[4833],"footnotes":""},"session_track":[57],"session_category":[105,56],"class_list":["post-7936","wcb_session","type-wcb_session","status-publish","has-post-thumbnail","hentry","wcb_track-workshop-room-2023a","wcb_session_category-beyond","wcb_session_category-workshop"],"jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"session_date_time":{"date":"March 8, 2024","time":"10:00 am"},"session_speakers":[{"id":"4833","slug":"ryan-welcher","name":"Ryan Welcher","link":"https:\/\/asia.wordcamp.org\/2024\/speaker\/ryan-welcher\/"}],"session_cats_rendered":"Beyond, Workshop","_links":{"self":[{"href":"https:\/\/asia.wordcamp.org\/2024\/wp-json\/wp\/v2\/sessions\/7936","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/asia.wordcamp.org\/2024\/wp-json\/wp\/v2\/sessions"}],"about":[{"href":"https:\/\/asia.wordcamp.org\/2024\/wp-json\/wp\/v2\/types\/wcb_session"}],"version-history":[{"count":1,"href":"https:\/\/asia.wordcamp.org\/2024\/wp-json\/wp\/v2\/sessions\/7936\/revisions"}],"predecessor-version":[{"id":7944,"href":"https:\/\/asia.wordcamp.org\/2024\/wp-json\/wp\/v2\/sessions\/7936\/revisions\/7944"}],"speakers":[{"embeddable":true,"href":"https:\/\/asia.wordcamp.org\/2024\/wp-json\/wp\/v2\/speakers\/4833"}],"author":[{"embeddable":true,"href":"https:\/\/asia.wordcamp.org\/2024\/wp-json\/wporg\/v1\/users\/welcher"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/asia.wordcamp.org\/2024\/wp-json\/wp\/v2\/media\/8715"}],"wp:attachment":[{"href":"https:\/\/asia.wordcamp.org\/2024\/wp-json\/wp\/v2\/media?parent=7936"}],"wp:term":[{"taxonomy":"wcb_track","embeddable":true,"href":"https:\/\/asia.wordcamp.org\/2024\/wp-json\/wp\/v2\/session_track?post=7936"},{"taxonomy":"wcb_session_category","embeddable":true,"href":"https:\/\/asia.wordcamp.org\/2024\/wp-json\/wp\/v2\/session_category?post=7936"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}