Files
bun-src/test/bundler/transpiler/react-compiler-fixtures/ref-current-field-not-added-to-dep.js
T
2026-08-27 21:09:14 +00:00

10 lines
179 B
JavaScript

// @validateRefAccessDuringRender false
function VideoTab() {
const ref = useRef();
let x = () => {
console.log(ref.current.x);
};
return <VideoList videos={x} />;
}