Question : Is it a good strategy to use swr with firebase ?
You could use the Firebase JS client as fetcher, probably with a wrapper, but I鈥檓 not sure how useful it would be 馃
Realtime database and Firestore has their own optimized caching strategy so it's better to let them handle their own data.
Highly recommend checking out swr-firebase. I'm playing around with it now and it seems very well done.
@danoc wow I didn't know about that lib, it looks truly amazing. Thank you!
Most helpful comment
@danoc wow I didn't know about that lib, it looks truly amazing. Thank you!