Gutenberg blocks are JSX-based. In the interest of consistency, it seems like templates should be written the same way.