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