Facebook Authentication Optimization
Closed this issue · 1 comments
cmcaboy commented
Currently running into a few problems:
- I am fetching the queue before I write the user's ID to local storage.
- I am not providing any sort of spinner when the user is logging in or registering.
- I am attempting to fetch the queue before a new customer is registered.
cmcaboy commented
One idea to fix this problem:
- I could set the default local id to 0 or -1 when no one is logged in. I could then have Stagg wait until an id is set before fetching the queue.