Skip to content

fix: signal attribute values not working with precompile transform#4798

Merged
marvinhagemeister merged 1 commit intov10.xfrom
10.x-precompile-attr
Jun 11, 2025
Merged

fix: signal attribute values not working with precompile transform#4798
marvinhagemeister merged 1 commit intov10.xfrom
10.x-precompile-attr

Conversation

@marvinhagemeister
Copy link
Copy Markdown
Member

No description provided.

@github-actions
Copy link
Copy Markdown

github-actions bot commented Jun 11, 2025

📊 Tachometer Benchmark Results

Summary

A summary of the benchmark results will show here once they finish.

Results

The full results of your benchmarks will show here once they finish.

tachometer-reporter-action v2 for CI

@github-actions
Copy link
Copy Markdown

github-actions bot commented Jun 11, 2025

Size Change: +134 B (+0.17%)

Total Size: 78.8 kB

Filename Size Change
jsx-runtime/dist/jsxRuntime.js 1.01 kB +35 B (+3.58%)
jsx-runtime/dist/jsxRuntime.mjs 985 B +33 B (+3.47%)
jsx-runtime/dist/jsxRuntime.module.js 985 B +33 B (+3.47%)
jsx-runtime/dist/jsxRuntime.umd.js 1.08 kB +33 B (+3.14%)
ℹ️ View Unchanged
Filename Size
compat/dist/compat.js 4.15 kB
compat/dist/compat.mjs 4.08 kB
compat/dist/compat.module.js 4.08 kB
compat/dist/compat.umd.js 4.21 kB
debug/dist/debug.js 3.82 kB
debug/dist/debug.mjs 3.82 kB
debug/dist/debug.module.js 3.82 kB
debug/dist/debug.umd.js 3.9 kB
devtools/dist/devtools.js 260 B
devtools/dist/devtools.mjs 274 B
devtools/dist/devtools.module.js 274 B
devtools/dist/devtools.umd.js 346 B
dist/preact.js 4.75 kB
dist/preact.min.js 4.77 kB
dist/preact.min.module.js 4.78 kB
dist/preact.min.umd.js 4.8 kB
dist/preact.mjs 4.76 kB
dist/preact.module.js 4.76 kB
dist/preact.umd.js 4.8 kB
hooks/dist/hooks.js 1.54 kB
hooks/dist/hooks.mjs 1.57 kB
hooks/dist/hooks.module.js 1.57 kB
hooks/dist/hooks.umd.js 1.61 kB
test-utils/dist/testUtils.js 473 B
test-utils/dist/testUtils.mjs 477 B
test-utils/dist/testUtils.module.js 477 B
test-utils/dist/testUtils.umd.js 555 B

compressed-size-action

} else if (value === true) return name;

return name + '="' + encodeEntities(value) + '"';
return name + '="' + encodeEntities('' + value) + '"';
Copy link
Copy Markdown
Member Author

@marvinhagemeister marvinhagemeister Jun 11, 2025

Choose a reason for hiding this comment

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

Added the type conversion because encodeEntities expects a string, but we could also pass a number here

@marvinhagemeister marvinhagemeister merged commit d369bdb into v10.x Jun 11, 2025
11 of 12 checks passed
@marvinhagemeister marvinhagemeister deleted the 10.x-precompile-attr branch June 11, 2025 12:07
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