#State variable

1 messages · Page 1 of 1 (latest)

swift bough
#

Hey guys I am just wondering Why we need to assign the memesData into a state varaiable even though it is giving us images even without assigning to a state variable.

raw spire
#

You will see ahead that

#

This data will be fetch using useEffect hook

#

So then this will set to empty array and the setMemeImages to fetch the data