5 lines
109 B
JavaScript
5 lines
109 B
JavaScript
|
function Component(props) {
|
||
|
const ref = null |> useRef(%);
|
||
|
const x = ref |> foo(%);
|
||
|
return x.current;
|
||
|
}
|