I noticed this in the patch notes:
core: Support for HTMLTemplateElement (<template>). The former <ons-template> is still supported for backward compatibility.
Can someone provide me with a better explanation of what this means?
I would greatly appreciate it.
@rgins16 So fast We will release a blog post speaking about these features soon. Basically, you can use
<template>element, which is supported natively by current browsers, instead of
<ons-template>. This way, you are relying on a native feature that should be safer than a custom made one. Also,
<script>tags, so you can add your initialization code next to the template if you prefer it that way (instead of using page life-cycle events).
<ons-template>will still be supported for now so it’s not completely necessary to update everything. However, if you are creating something new then
@Fran-Diox oh sorry! I’m too eager to learn about new features. I look forward to reading the blog post.