2 Matching Annotations
  1. Dec 2020
    1. This is the accepted way to handle problems related to authentication, because user data has a couple of important characteristics: You really don't want to accidentally leak it between two sessions on the same server, and generating the store on a per-request basis makes that very unlikely It's often used in lots of different places in your app, so a global store makes sense.
  2. Oct 2020
    1. It's easy to persist the entire application state in a way that is backwards-compatible, so persisted states can survive application changes.