JavaScript for WordPress Forums Gutenberg Development Inspector controls inside dynamic block Reply To: Inspector controls inside dynamic block

#45992
forge-web
Participant

Hi! I’m working on something very similar, using inspector controls to toggle a dynamic block rendering between two custom post types. The example via ‘v1/jsforwp-blocks/blocks/examples/13-dynamic-alt’ has been really helpful but I’m having trouble with front-end rendering. Does the WP API approach still allow for the same rendering in PHP (using save: props => { // fetch in php return null; }?