for example we have this button and this div
<button onClick={test_func}>
</button>
<div class="js_test">
</div>
in jquery we do so !
$(document).on('click', '.js_test', fu
//code
});
$(document).on('EVENT_TYPE', 'ELEMENT_DOM', function(evt) {});
$('ELEMENT_DOM').css();
$('ELEMENT_DOM').attr();
$('ELEMENT_DOM').addClass();
in js you can catch all events by class or id
.js_test
so how is it like in React.js
test_func() {
//inside here i need to do something with div .js_test
// to set text, add new class, set new css style like color: 'red' for example
}