The modern web becomes more distributed: both front-end and back-end turns out to be the complicated part of the bipolar web-application. And communication between them is going to be a new challenge.
The classic AJAX problems:
- the unstable network makes AJAX based UI works annoying
- does not work offline
- there is no way to merge conflits, last processed update is accepted as the last truth
I will talk about how basic Logux concepts and how all of the work together to support the modern web features.
- UI becomes pessimistic with a huge amount of loaders and other request-time lockers
- the increasing complexity of the JavaScript code for processing AJAX requests
- AJAX work only in one way and does not allow live updates
Logux is the new way of synchronization between client and server, which provides many features for modern web out of the box: Live Updates, Optimistic UI, Offline-first.