Closed sebastianbenz closed 3 years ago
Make sure to always also support the script based template syntax:
<script type="text/plain" template="amp-mustache"> Hello {{world}}! </script>
Using the template helper should also make SSR more performant as it avoids a full parent traversal for each node.
It's documented here: https://amp.dev/documentation/components/amp-mustache/.
oh, pft, I somehow changed it to amp-script powered templates when I was looking for docs. apologies.
Make sure to always also support the script based template syntax:
Using the template helper should also make SSR more performant as it avoids a full parent traversal for each node.