1.0.1 • Published 1 year ago
bugs-reproducer v1.0.1
Bugs Reproducer
Installation
npm i --save bugs-reproducer
Quick Step
const App = () => {
const popupRef = useRef();
const handleClick = () => {
popupRef.current.log('click on try me');
};
return (
<div className="App">
<Popup ref={popupRef}/>
<button onClick={handleClick}>
try me!
</button>
</div>
);
}