Integrate imperative DOM work while respecting React ownership. Create a focusable control and portal-based disclosure with cleanup.
Learning outcomes
Earn a cryptographically verifiable Certificate of Completion to showcase on LinkedIn and your resume upon finishing all module lessons and assessments.
By the end: distinguish refs from rendered state; focus an attached element after user interaction; distinguish object refs and callback refs.
By the end: explain when layout effects block paint; expose a constrained focus handle; explain insertion-effect restrictions.
By the end: distinguish createroot from hydrateroot; predict react context and event propagation in portals; explain when synchronous dom flushing is justified.