JSTQL-JS-Transform/output_testing/504error.invalid-pass-ref-to-function.js

5 lines
109 B
JavaScript
Raw Normal View History

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