Closed philippemiguet closed 5 years ago
@djfarrelly wondering if we want to wait for Phil to move forward with this one. I am happy to work on this if necesary.
@ssvmvss is this blocking for you?
@esclapes, I think we'll need to make some sort of change either in this code or in https://github.com/bufferapp/buffer-login/pull/47 to fix the potential race condition that could happen when loading static assets.
I'm also happy to dig into these changes. I don't think it will take me too long and I know you have a lot on your plate with the migration script!
I just pushed a synchronous version of the same function to avoid potential race conditions in the short term!
This is ready for review. It is being used in this PR: https://github.com/bufferapp/buffer-login/pull/47.
This first version will work well for SSR. I was thinking we could work on a client-side React version during the next hack-week :)