Avatar for the lynx-family user
lynx-family
lynx-stack
BlogDocsChangelog

fix(react): MTF variable capture in class components

#2197Merged
Comparing
Yradex:wt/fix-mtf-component-not-updating-20260205
(
9d3d256
) with
main
(
f9f0987
)
CodSpeed Performance Gauge
-9%
Regression
1
Untouched
62
Skipped
3

Benchmarks

66 total
transform 1000 view elements
packages/react/transform/__test__/basic.bench.js::Basic
CodSpeed Performance Gauge
-9%
42.2 ms46.3 ms
basic-performance-small-css
packages/web-platform/web-tests/tests/server.bench.vitest.spec.ts::server-tests
CodSpeed Performance Gauge
+4%
7.9 ms7.6 ms
basic-performance-scroll-view-100
packages/web-platform/web-tests/tests/server.bench.vitest.spec.ts::server-tests
CodSpeed Performance Gauge
+2%
11 ms10.8 ms
basic-performance-large-css
packages/web-platform/web-tests/tests/server.bench.vitest.spec.ts::server-tests
CodSpeed Performance Gauge
0%
11.8 ms11.7 ms
004-various-update-setAttribute__BatchedValues
benchmark/react/cases/004-various-update/index.tsx
CodSpeed Performance Gauge
0%
316.2 µs315.4 µs
004-various-update__main-thread-setAttribute__MT_Event
benchmark/react/cases/004-various-update/index.tsx
CodSpeed Performance Gauge
0%
96.1 µs95.8 µs
004-various-update__main-thread-setAttribute__StyleString
benchmark/react/cases/004-various-update/index.tsx
CodSpeed Performance Gauge
0%
33 µs32.9 µs
001-fib/background.js_LoadScript
benchmark/react
CodSpeed Performance Gauge
0%
565.5 µs564.4 µs
004-various-update__main-thread-setAttribute__TimingFlag
benchmark/react/cases/004-various-update/index.tsx
CodSpeed Performance Gauge
0%
72.5 µs72.4 µs
basic-performance-image-100
packages/web-platform/web-tests/tests/server.bench.vitest.spec.ts::server-tests
CodSpeed Performance Gauge
0%
11.4 ms11.4 ms
004-various-update__main-thread-setAttribute__Class
benchmark/react/cases/004-various-update/index.tsx
CodSpeed Performance Gauge
0%
36 µs35.9 µs
006-static-raw-text__main-thread-renderOpcodes
benchmark/react
CodSpeed Performance Gauge
0%
3.2 ms3.2 ms
003-hello-list-destroyBackground
benchmark/react
CodSpeed Performance Gauge
0%
2.4 ms2.4 ms
004-various-update/background.js_LoadScript
benchmark/react
CodSpeed Performance Gauge
0%
384.3 µs384.3 µs
004-various-update__main-thread-setAttribute__Attr
benchmark/react/cases/004-various-update/index.tsx
CodSpeed Performance Gauge
0%
36.1 µs36.1 µs
006-static-raw-text-renderBackground
benchmark/react
CodSpeed Performance Gauge
0%
2.9 ms2.9 ms
003-hello-list/main-thread.js_LoadScript
benchmark/react
CodSpeed Performance Gauge
0%
1.5 ms1.5 ms
003-hello-list__main-thread-componentAtIndex__create
benchmark/react
CodSpeed Performance Gauge
0%
5.2 ms5.2 ms
004-various-update__main-thread-setAttribute__Spread
benchmark/react/cases/004-various-update/index.tsx
CodSpeed Performance Gauge
0%
380.6 µs380.5 µs
002-hello-reactLynx__main-thread-serializeRoot
benchmark/react
CodSpeed Performance Gauge
0%
511.3 µs511.3 µs
003-hello-list__main-thread-serializeRoot
benchmark/react
CodSpeed Performance Gauge
0%
3.7 ms3.7 ms
002-hello-reactLynx/main-thread.js_LoadScript
benchmark/react
CodSpeed Performance Gauge
0%
388.4 µs388.4 µs
004-various-update/main-thread.js_LoadScript
benchmark/react
CodSpeed Performance Gauge
0%
653.9 µs653.9 µs
002-hello-reactLynx__main-thread-renderOpcodes
benchmark/react
CodSpeed Performance Gauge
0%
1.6 ms1.6 ms
004-various-update__main-thread-setAttribute__BatchedValues
benchmark/react/cases/004-various-update/index.tsx
CodSpeed Performance Gauge
0%
778.4 µs778.4 µs

Commits

Click on a commit to change the comparison range
Base
main
f9f0987
-8.72%
fix(react): satisfy clippy for getter body
9d3d256
4 days ago
by Yradex
© 2026 CodSpeed Technology
Home Terms Privacy Docs