Check out example codes for "does any event get triggered when checked value changes programatically?". It will help you in understanding the concepts better.

Code Example 1

var event = document.createEvent("HTMLEvents");
event.initEvent('change', false, true);
checkbox.dispatchEvent(event);

Learn ReactJs, React Native from akashmittal.com