pixiebrix-extension icon indicating copy to clipboard operation
pixiebrix-extension copied to clipboard

DX: Clean up the listeners in `src/auth/authStorage`

Open BLoe opened this issue 1 year ago • 0 comments

  • Do they need to fire every time both the user token data and the partner data changes?
  • Are they firing too often? Should there be more checks around whether or not the user/auth actually changed before firing listeners?
  • Can we make these events more explicit? For ex. we could have separate onUserLogout handlers, separate handlers for "user profile info updated," etc.

Big Question: Can we make Log Out actually work properly in the extension?

BLoe avatar Feb 28 '24 19:02 BLoe