mirror of
https://github.com/facebook/react.git
synced 2026-02-26 18:58:05 +00:00
7 lines
113 B
JavaScript
7 lines
113 B
JavaScript
// @debug
|
|
function Component(props) {
|
|
const ref = useRef(null);
|
|
const value = ref.current;
|
|
return value;
|
|
}
|