9 lines
171 B
JavaScript
9 lines
171 B
JavaScript
// @validateRefAccessDuringRender:false
|
|
function Foo({a}) {
|
|
const ref = useRef();
|
|
const val = ref.current;
|
|
const x = {a, val};
|
|
|
|
return <VideoList videos={x} />;
|
|
}
|