{"id":16257526,"date":"2022-12-03T15:48:00","date_gmt":"2022-12-03T15:48:00","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/dynamic-block-development\/"},"modified":"2022-12-03T15:48:00","modified_gmt":"2022-12-03T15:48:00","slug":"dynamic-block-development","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/dynamic-block-development\/","title":{"rendered":"Dynamic Block Development"},"content":{"rendered":"<p>Hi, everyone.<\/p>\n<p>I&#8217;m new to WP, so I just want to make sure I have understood this correctly;<\/p>\n<p>When developing a <strong>static block<\/strong> both the block editor (back end) markup and the front end markup can be done in JS\/JSX. <\/p>\n<p>However, when developing a <strong>dynamic block<\/strong>, the markup for the front end <em>must<\/em> happen in the plugin.php file &#8211; is that correct?<\/p>\n<p>You see, the reason I ask is that I am a React developer, and my php skills are very poor. So naturally, I would love to be able to develop as much as possible in JS\/JSX. <\/p>\n","protected":false},"template":"","class_list":["post-16257526","topic","type-topic","status-publish","hentry","topic-tag-block","topic-tag-development","topic-tag-editor","topic-tag-end","topic-tag-front","topic-tag-js","topic-tag-php"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/16257526","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/16257526\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=16257526"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}