Skip to main content

One doc tagged with "useRef"

View All Tags

11. useRef, DOM Access & getRef

useRef holds a mutable value that persists across renders without triggering re-renders when updated. In Dim it also powers cross-component DOM access via getRef.