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

9 lines
128 B
JavaScript

function VideoTab() {
const ref = useRef();
let x = () => {
ref.current = 1;
};
return <VideoList videos={x} />;
}