-2
I’ll explain what’s going on,
well when I create an application with vuejs or React, I use fetch to retrieve information from the api and then pass the data within a state (in the case of vuejs I use return { info: [] }
)
When I call this object I put to display inside the HTML, then the information appears but when I give F5 they give refresh...
Does anyone know any solution to take the refresh when refreshing the page?
Want to avoid calling the correct API again? Your application has a server?
– Sergio
I’m working locally, I’m not using server yet.
– Rick Gostosao
And it doesn’t just happen with API, I’ve also used firebase and the same thing happens
– Rick Gostosao