Javascript – Double-clicking twice in a row not registering on react component?
I have some very simple code in a functional react component: const example = () => ( <div onDoubleClick={() => { console.log('fired'); }}> test element </div> ); Double-clicking once logs 'fired' as expected, but double-clicking twice in a row without…