Skip to content
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

perf: apply static parts optimization to dynamic attributes #4055

Merged
merged 12 commits into from
Mar 19, 2024
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const stc3 = {
function tmpl($api, $cmp, $slotset, $ctx) {
const { sp: api_static_part, st: api_static_fragment } = $api;
return [
api_static_fragment($fragment1(), 0, [
api_static_fragment($fragment1, 0, [
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is mainly the change to all the template compiler fixtures, the invocation happens in the st function now so all the fixtures are updated like this.

api_static_part(4, stc0),
api_static_part(5, stc1),
api_static_part(6, stc2),
Expand Down