Skip to content

feat: add vui-update-props for memo-preserving prop updates#38

Merged
d12frosted merged 2 commits intomasterfrom
feat/update-props
Jan 30, 2026
Merged

feat: add vui-update-props for memo-preserving prop updates#38
d12frosted merged 2 commits intomasterfrom
feat/update-props

Conversation

@d12frosted
Copy link
Copy Markdown
Owner

Summary

  • Add vui-update-props — updates instance props and re-renders while preserving memo caches
  • Unlike vui-update (which invalidates all memos), vui-update-props lets memoized values recompute only when their dependencies change
  • Useful for periodic refreshes (e.g., idle timers) where data may not have changed, avoiding unnecessary expensive recomputations

Add vui-update-props which updates instance props and re-renders
while preserving memo caches. Unlike vui-update which invalidates
all memos, vui-update-props lets memoized values recompute only
when their dependencies change. Useful for periodic refreshes
where data may not have changed.
@d12frosted d12frosted merged commit b2ba051 into master Jan 30, 2026
2 checks passed
@d12frosted d12frosted deleted the feat/update-props branch January 30, 2026 21:13
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