Files

15 lines
285 B
JavaScript
Raw Permalink Normal View History

2026-08-27 21:09:14 +00:00
import {useRef} from 'react';
function Component() {
'use no forget';
const ref = useRef(null);
// eslint-disable-next-line react-hooks/rules-of-hooks
ref.current = 'bad';
return <button ref={ref} />;
}
export const FIXTURE_ENTRYPOINT = {
fn: Component,
params: [],
};