Skip to content

Plaited 7.2.0 #1875

New issue

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

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

Already on GitHub? Sign in to your account

Merged

Conversation

EdwardIrby
Copy link
Contributor

[Fix] upgrade to 7.2.0 to fix performance regressions

Renames defineTemplate to defineElement to prevent confusion around usage of new useTemplate utility. This utility is a renamed/refactored clone helper focused on just HTMLTemplateElements. The version 5.3.0 clone helper was originally inspired by SolidJS's For component and I totally forgot why when I removed it.

This PR should restore performance, or get me close to 5.3.0, while keeping with additional features in v7. I expect this to be the last PR for quite awhile. Making SSR first framework perform client side this well has been a challenge.

@krausest krausest merged commit 3e8089d into krausest:master May 10, 2025
@krausest
Copy link
Owner

Here's the comparison (left new keyed, right previous old):
Screenshot 2025-05-10 at 19 59 19
Nice improvement 😄!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants