Does Magento 2 have any systems or abstractions for managing state between the backend and the local storage on the frontend?
I'm working on porting a feature for restoring a user's abandoned cart via a redirect URL. In simplified form, a URL like
will load a quote into the current user's cart based on an encoded quote_id in the identifier.
In Magento 1, this was relatively simple -- you just needed to update a user's Checkout session information with the correct quote ID. However, Magento 2 adds in the wrinkle of local storage.
Is there an API in Magento 2 for managing data between the frontend and backend?
The there a standard way of signaling the entire system that, during backend processing, you've done something that makes it necessary it invalidate the frontend local storage cache?