Race condition with beforeLoad and routerContext
I have a function that does the following in a mutation:
If I remove the
How can I avoid this race condition?
If I remove the
setTimeout, I get a null value for token in my beforeLoad of /user. How can I avoid this race condition?