Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Optimise template functions containing static attributes #21

Merged
merged 1 commit into from
Jan 5, 2024

Conversation

MichaelHatherly
Copy link
Owner

When an element contains "static" attributes don't wait until runtime to render them to a String, and instead do it during macro expansion to save rerunning it on every single call to the template function.

When an element contains "static" attributes don't wait until runtime to render them to a `String`, and instead do it during macro expansion to save rerunning it on every single call to the template function.
@kodiakhq kodiakhq bot merged commit df4d29a into main Jan 5, 2024
12 checks passed
@kodiakhq kodiakhq bot deleted the mh/static-attr-opt branch January 5, 2024 23:26
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant