We're a place where coders share, stay up-to-date and grow their careers.
Nope, run the code with the network tab open and you'll see it's only fetched once no matter how many times you click the button.
got it, if that's the case then it's okay.
Nope, run the code with the network tab open and you'll see it's only fetched once no matter how many times you click the button.
got it, if that's the case then it's okay.