What is onDestroy and when should you use it? | Lifecycle Hooks | svelte Interview Questions | NextRound.in