Solid Start create resource refetch issue
Hi I am looking for a solution to force refetch the resource provided below.
I used
My temporary solution is to fetch new data is just by using
example route:
I want to refetch the data when user updates the employee data like so:
I think it does not refetch the data due to constant
If somone here know a right solution I would be greateful.
I used
{ refetch } method and it works sometimes idk why.My temporary solution is to fetch new data is just by using
window.location.reload().example route:
/employees/{id: UUID}I want to refetch the data when user updates the employee data like so:
I think it does not refetch the data due to constant
id from url path. If somone here know a right solution I would be greateful.
