Verify our app doesn't have any warnings or errors in the cnosole log at first startup, if there are, fix them.
Use useDeferredValue in order to stop the app from freezing.
Create a clear loading indicator to the user that something is happening behind the scenes and the UI isn't stuck.