News for hackers. Stuff that matters.
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?
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.
Re:You Shouldn't Start with an SPA by prophesi on Friday February 02, 2024 @12:25PM (#39231405)
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.
Re:You Shouldn't Start with an SPA by simonhamp on Friday February 02, 2024 @01:11PM (#39232059)
You still don't need an SPA for this