1.0.1 • Published 1 year ago

bugs-reproducer v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Bugs Reproducer

alt text

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>
    );
}