TMRW interview question

useeffect usestate differences react basics js bacisc