Skip to content

Commit f7300bd

Browse files
committed
2 parents 4505cd8 + 3819be8 commit f7300bd

File tree

1 file changed

+1
-1
lines changed
  • content/tutorial/01-svelte/07-lifecycle/01-onmount

1 file changed

+1
-1
lines changed

content/tutorial/01-svelte/07-lifecycle/01-onmount/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: onMount
44

55
Every component has a _lifecycle_ that starts when it is created, and ends when it is destroyed. There are a handful of functions that allow you to run code at key moments during that lifecycle.
66

7-
The one you'll use most frequently is `onMount`, which runs after the component is first rendered to the DOM. We briefly encountered it [earlier](/tutorial/bind-this) when we needed to interact with a `<canvas>` element after it had been rendered.
7+
The one you'll use most frequently is `onMount`, which runs after the component is first rendered to the DOM.
88

99
We'll add an `onMount` handler that loads some data over the network:
1010

0 commit comments

Comments
 (0)