mirror of
https://github.com/m-lamonaca/dev-notes.git
synced 2025-06-08 02:37:13 +00:00
Fix typos
This commit is contained in:
parent
76550dfa3c
commit
5c0799df7f
118 changed files with 1150 additions and 1602 deletions
|
@ -10,7 +10,7 @@ node scripts/setupTypeScript.js
|
|||
npm init vite@latest
|
||||
```
|
||||
|
||||
## App Entrypoint
|
||||
## App Entry-point
|
||||
|
||||
```js
|
||||
import App from "./App.svelte"; // import the component
|
||||
|
@ -74,7 +74,7 @@ export default app;
|
|||
// markup here
|
||||
{/each}
|
||||
|
||||
{#each array as item (key)} // usse key to determine changes
|
||||
{#each array as item (key)} // use key to determine changes
|
||||
// markup here
|
||||
{/each}
|
||||
```
|
||||
|
@ -139,7 +139,7 @@ For these, Svelte has reactive declarations. They look like this:
|
|||
|
||||
```js
|
||||
let count = 0;
|
||||
$: double = count * 2; // recaclulatd when count changes
|
||||
$: double = count * 2; // recalculated when count changes
|
||||
// or
|
||||
$: { }
|
||||
$: <expression>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue