All of our example apps would connect to localstorage to determine the logged in user on every navigation. With this PR we are using a React context to store user information so that we only connect to localstorage when the app is loaded instead of when navigating. As access to localstorage is slow this makes navigating around the apps faster.
All of our example apps would connect to localstorage to determine the logged in user on every navigation. With this PR we are using a React context to store user information so that we only connect to localstorage when the app is loaded instead of when navigating. As access to localstorage is slow this makes navigating around the apps faster.