Open hudson-newey opened 3 months ago
Guard directives let us pass in dependency arrays to templates that use functions. This prevents re-renders (and therefore performance) that would not result in any changes
lit.dev/docs/templates/directives/#guard
We should also consider using the cache directive to further improve performance
cache
Guard directives let us pass in dependency arrays to templates that use functions. This prevents re-renders (and therefore performance) that would not result in any changes
lit.dev/docs/templates/directives/#guard
We should also consider using the
cache
directive to further improve performance