- Published on
Quick Shopify Dev Tip #1
- Authors
- Name
- Tracy Adams
- @tracy_codes
In late 2019 Shopify deprecated the {% include %}
tag in favor of {% render %}
tag. This tag improves performance immensely as instead of automatically inheriting every variable assigned above the {% include %}
tag, you have define each variable in your {% render %}
tag. By doing so, you greatly reduce the time Shopify's liquid engine takes to render your snippets.
You can read more about how to use the new {% render %}
tag here: https://shopify.dev/docs/themes/liquid/reference/tags/theme-tags#render