arrow_backBACK TO DRILLS
Blue Beltuseref

expensive ref initialization

A component uses const playerRef = useRef(new VideoPlayer()), where VideoPlayer() is expensive to create. Which statement is true?

BugDojo
BlogFAQ

© 2026. Carved in code.