Skip to content

Commit e85f1bc

Browse files
committed
Add component memoization implementation plan
Two options for props-based memoization to skip re-renders: - Option A: @ui.memo decorator (familiar to React devs) - Option B: @ui.component(memo=True|compare_fn) parameter (cleaner) Includes: - API design and implementation details - MemoizedFunctionElement and Renderer changes - Unit tests for both options - Performance benchmarks - Comparison and recommendation (implement both)
1 parent 225e162 commit e85f1bc

1 file changed

Lines changed: 1265 additions & 0 deletions

File tree

0 commit comments

Comments
 (0)