When working with dynamic components, Vue recreates new instances of components when you switch the value of the :is directive. While it’s useful in most cases, there are times when we want to save the cached state of a hidden element. Meet Vue keep-alive components. Depending on your project, Vue Keep-Alive components can be a great way to increase speed and provide a better user experience. COMPANION ARTICLE W/ CODE FREE VUE 3 CHEATSHEET WITH ESSENTIAL CODE SNIPPETS SOCIAL 🚨 Like quick Vue lessons like these? Check out 800 lessons over on Vue School - INTRO Daily (Prod. by Lukrembo)
Hide player controls
Hide resume playing