Conditionally render block fields?

Is there a way to render block fields based on a field value outside of the block? I want to conditionally render a field based on a value that's set outside of the block editor but I'm not sure how to pass it through.
1 Reply
ifox
ifox14mo ago
hi @Trevin Alonzo you can pass data to the renderBlocks method that will be available in all blocks
Want results from more Discord servers?
Add your server