Skip to content

Commit f383c9d

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 ba1db69 commit f383c9d

1 file changed

Lines changed: 1265 additions & 0 deletions

File tree

0 commit comments

Comments
 (0)