📅  最后修改于: 2022-03-11 14:56:44.436000             🧑  作者: Mango
How to work with Lifecycle Events in Svelte
onMount fired after the component is rendered.
onDestroy fired after the component is destroyed.
beforeUpdate fired before the DOM is updated.
afterUpdate fired after the DOM is updated.