In an application with React Native
, using Redux
and Redux-Persist
, what is the best way to identify that content needs to be updated?
In my case, I have an application that makes some requests on start up.
When I enabled redux-persist
I started to avoid the request if it had already been done at another time. But I have no idea how best to now identify whether or not to release the request again to update the data stored by redux-persist
.
I read about using ETags
and Last-Modified
, but does that imply implementing this in the correct API too?
Any guidance to have this functionality implemented in the right way?