|
Hi I read in the documentation that templates can use template variables like Example is a template to hide the card: Here I tried to use template variable Main idea is to avoid rendering So I don't yet understand what is the intended use of these Template variables ( Best Eric |
Replies: 2 comments 2 replies
|
In the context of forge If you are concerned with efiiciency then there is no need. If you use the same template in the same context (so has same template variables) then template shares a cached version and only is sent to backend once. |
|
|
Note that the template used in forge will not be identical to the template used in element as their variables will be different. But if you use multiple times in forge and element it will only be the one template sent to backend.
For slower devices check out Frontend States Throttling in case your states are busy with many updates which usually causes slowdowns.