You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the worker.start() is not being returned or awaited, sometimes that will cause the worker to be started after react renders. Causing conflicts with React Router. Simple return should be able to fix this issue.
import('../mocks/browser').then(async({ worker })=>{worker.start()// Will cause a race condition if not awaited or returned.})// Run <App /> when Service Worker is ready to intercept requests..then(()=>{root.render(<App/>)})
The text was updated successfully, but these errors were encountered:
Currently the worker.start() is not being returned or awaited, sometimes that will cause the worker to be started after react renders. Causing conflicts with React Router. Simple return should be able to fix this issue.
The text was updated successfully, but these errors were encountered: