then-purpleT
Refine13mo ago
24 replies
then-purple

why when using modal it do a call to the api before opening it

I do an api call in the modal and before i click to open it, the api call is already send. Is it possible to only have the call when the modal is open?
Was this page helpful?