DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
componentwillreceiveprops for functional component
useEffect(() => { console.log('someProp updated'); }, [props.someProp])
PREVIOUS
NEXT
Tagged:
#componentwillreceiveprops
#functional
#component
ADD COMMENT
Topic
COMMENT
Name
9+5 =
Submit