useEffect


React Hooks
( deps ) 1

useEffect(() => {
//
}, [])
useEffect(() => {
// a, b, c
}, [a, b, c])
useEffect(() => {
// state
})