When trying to use the use-sound hook, it is storing some other variable in memory and not allowing it to get destroyed. This results in memory shoot-up and the application refreshes automatically. In my case, the user data is lost when refresh happens. Can somebody help me out with this?
When trying to use the use-sound hook, it is storing some other variable in memory and not allowing it to get destroyed. This results in memory shoot-up and the application refreshes automatically. In my case, the user data is lost when refresh happens. Can somebody help me out with this?