Avatar for the reflex-dev user
reflex-dev
reflex
BlogDocsChangelog

refactor: freeze components after create and use copy_with for mutations

#6468
Comparing
FarhanAliRaza:immutability
(
78f1602
) with
main
(
2df5344
)
CodSpeed Performance Gauge
+4%
Improvement
1
Untouched
23
Skipped
2

Benchmarks

2 total
test_compile_stateful[_stateful_page]
tests/benchmarks/test_compilation.py
Skipped
147.9 µs*
test_compile_stateful[_complicated_page]
tests/benchmarks/test_compilation.py
Skipped
594 µs*

Commits

Click on a commit to change the comparison range
Base
main
2df5344
-28.78%
Merge remote-tracking branch 'upstream/main' into immutability
41e141c
20 hours ago
by FarhanAliRaza
+32.59%
perf: speed up Component construction hot path
d1d22c5
18 hours ago
by FarhanAliRaza
-0.13%
fix: preserve empty event_triggers dict and rename shadowed field var
78f1602
18 hours ago
by FarhanAliRaza
© 2026 CodSpeed Technology
Home Terms Privacy Docs