We are doing this for simple data where we can but unfortunately having state in multiple locations (backend, memory, localStorage) means lots of cache complexity. How do you refresh and invalidate when the data are in so many places? We've opted to keep data in only 1 place as much as possible due to this exponential complexity.
We also have to be careful what we store in localStorage since it is relatively insecure.
We also have to be careful what we store in localStorage since it is relatively insecure.