Pregunta de entrevista de ByteDance

useeffect() and hooks questions were asked