Quiz: React 19 Improvements

Test your understanding of React 19 improvements.

1

What best describes the advantage of using ref as a prop in React 19?

A)

It removes the need for useRef altogether.

B)

It allows refs to be passed without using forwardRef and applied like regular props.

C)

It forces all refs to be named refProp.

D)

It only works with class components.

Question 1 of 150 attempted

Get hands-on with 1400+ tech skills courses.