Fork me on GitHub
#cljsrn
<
2020-05-31
>
Oliver George00:05:09

Anyone using https://github.com/kfiroo/react-native-cached-image? I'm upgrading to RN 62 and it looks like it's not compatible. Wondering if there's a substitute I should be considering.

Oliver George00:05:57

Perhaps a little wrapper around js/fetch using cache modes will suffice. Like get from cache...

(js/fetch url #js {:method "GET" :cache "force-cache"}) 

Oliver George01:05:56

Also need to review default behaviour of rn/image if I ensure the server sends back sensible long-life headers