There is a React component with onClick . This component is not placed in the root. Between the root and the component there is a click handler with stopPropagation . As a result, onClick onClick will not work, because React listens to all events on the root element .
We go further, we try to catch the native JS and assign it to the place where it is prevented, we get the following code . As a result, all the native events work, but the reactor events do not. How to make Reakta events work?
handleClickinside the handle will not work? - Michael Radionovreact-modal, for example. they greatly simplify their lives, avoiding heaps of leaflets and duplication of events. As for the generation of events with test utilities, it is better not to even try to use it (in this situation). Yes, it is, but as far as I remember, only indevmode, while thedevbuild is 2-3 times slower thanprod(recently an article about the performance of the 15th reactor skipped). - MiF