mardi 30 avril 2019

Data on Route not reloading / refetching from API

Say I have index and edit routes. From index, I selected item and redirected to edit route. Then when I change data on form field on edit route and click the back arrow on my browser, the changes made reflected on index which should not because save button was not clicked.

But when index route is refreshed the changes made don't reflect which is right. Now how could the index route reload the data without refreshing the page.




Aucun commentaire:

Enregistrer un commentaire