Skip to content

Remove lifecycles from core #4768

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

Draft
wants to merge 2 commits into
base: v11-2
Choose a base branch
from
Draft

Conversation

JoviDeCroock
Copy link
Member

@JoviDeCroock JoviDeCroock commented May 24, 2025

Checking out the byte size impact of removing these lifecycles, we can remove componentWillUpdate as well due to #4760. 53b is a lower impact than I had expected, what do we think about this one?

Copy link

github-actions bot commented May 24, 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

@JoviDeCroock JoviDeCroock force-pushed the remove-lifecycles-core branch from 4cbe3fa to 259dfe0 Compare May 24, 2025 09:36
Copy link

github-actions bot commented May 24, 2025

Size Change: -119 B (-0.26%)

Total Size: 46.4 kB

Filename Size Change
dist/preact.js 4.57 kB -44 B (-0.95%)
dist/preact.mjs 4.59 kB -38 B (-0.82%)
dist/preact.umd.js 4.65 kB -37 B (-0.79%)
ℹ️ View Unchanged
Filename Size
compat/dist/compat.js 3.73 kB
compat/dist/compat.mjs 3.65 kB
compat/dist/compat.umd.js 3.79 kB
debug/dist/debug.js 3.85 kB
debug/dist/debug.mjs 3.85 kB
debug/dist/debug.umd.js 3.94 kB
devtools/dist/devtools.js 260 B
devtools/dist/devtools.mjs 271 B
devtools/dist/devtools.umd.js 346 B
hooks/dist/hooks.js 1.55 kB
hooks/dist/hooks.mjs 1.58 kB
hooks/dist/hooks.umd.js 1.62 kB
jsx-runtime/dist/jsxRuntime.js 861 B
jsx-runtime/dist/jsxRuntime.mjs 830 B
jsx-runtime/dist/jsxRuntime.umd.js 934 B
test-utils/dist/testUtils.js 473 B
test-utils/dist/testUtils.mjs 473 B
test-utils/dist/testUtils.umd.js 555 B

compressed-size-action

@JoviDeCroock JoviDeCroock force-pushed the remove-lifecycles-core branch from ffffdeb to ce917e1 Compare May 24, 2025 10:01
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.

1 participant