Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

useEffect

//useEffect
//the whole purpose of useEffect is to: 
//observe state
//observe initial state when the array is empty
//Target specific State variable and do something every time changes
Source by dmitripavlutin.com #
 
PREVIOUS NEXT
Tagged: #useEffect
ADD COMMENT
Topic
Name
4+8 =