will tanstack router be good for creating a offline first pwa vite+react app?
Hey i have a fresh vite + react app project, i wanna createa an offline first pwa, is this router a good choice for this ?
3 Replies
exotic-emerald•2y ago
yes
go have fun
fascinating-indigo•2y ago
Hey @Mr.Nobody 👋 Could you share some advices for creating a PWA with tanstack/router? Do you use vite-pwa-plugin? Have you had any problems?
mute-gold•2y ago
We don't have any examples of this, but to do this, is a matter of taking any vite react app that has pwa support, installing Tanstack Router, and not code-splitting so the user gets the entire bundle. Or you could still code-split and handle the failure logic on the client if offline.