In a React Native
app, usingRedux
and Redux-Persist
, what is the best way to identify what content needs to be updated?
I have an app that does a few requests at startup.
When I enabled redux-persist
I started to avoid a request if it was already done at another time. But I have no idea how best to identify whether or not to make the request again to update the data stored by redux-persist.
I read about the use of ETags
andLast-Modified
, but this implies implementing this in the API also right?
Any guidance for this functionality implemented in the right way?