Support

Account

Home Forums Gutenberg Can I use JSX for the block template? Reply To: Can I use JSX for the block template?

  • Yes – it is possible with wp_localize_script. You can read more about it on Codex page: https://developer.wordpress.org/reference/functions/wp_localize_script/