I am new to React Native. I have a function that is doing some heavy computation which takes arround 30 seconds to finish when called. This would be a horrible expirience if the user has to wait for this to finish. What would be the best practice for this?