Cycode interview question

basically about react. basic hooks, rendering mechanism