Does anyone have an on how to refresh an API when a data is modified or deleted?
Janis
1 month ago
Oct 29, 2024, 12:16 PM
The easiest way as far as I know is to refetch the api. So when you update or modify something make a GET request on the success event of the PATCH/DELETE request