useEffect()
const app = () => { useEffect(() => { console.log("update") return () => { console.log("clearUp") } }, [limitValue]) }
mount> "update"
render> "cleanUp" > "update"
unMount> "cleanUp"
limitValue를 없으면 매번 실행
limitValue를 설정하면 해당값이 변경될때만 실행
limitValue를 [] 빈값으로 설정하면 한번만 실행