Mix and match patterns to support varying online/offline needs.
To make a client work fully offline, use event sourcing on the client.
Learn how to use google workbox to add store and forward to command processing.
Command Query Responsibility Segregation, or CQRS, is a well known architectural pattern which is often conflated with other design patterns resulting in an overcomplicated mess. In this post I'll show you how I use it.
Learn how to use indexeddb as a cache aside and take your PWA offline.