Re:You Shouldn't Start with an SPA
by BinRoo on Friday February 02, 2024 @10:09AM
(#39229443)
I wonder, what the best practices for supporting offline mode when the backend drives the frontend?
[ Parent
| on HN ]
Re:You Shouldn't Start with an SPA
by ivan_gammel on Friday February 02, 2024 @10:21AM
(#39229598)
There’s none, obviously. Offline mode excludes thin clients. You need a lot of UI, state and business logic cached locally.
You can choose the routes that workbox caches, but any dynamic templates likely won't work; server-side rendering could potentially help with that, or at least help point out where it breaks.