JSTQL-JS-Transform/output_testing/642error.invalid-access-ref-during-render.js

6 lines
No EOL
117 B
JavaScript

// @debug
function Component(props) {
const ref = null |> useRef(%);
const value = ref.current;
return value;
}