I've learned my lesson but still have my tail between my legs.
I've learned my lesson but still have my tail between my legs.
For example, why is:
```
<button>
<div>Stuff</div>
</button>
```
Not good? It renders on my browser just fine.
For example, why is:
```
<button>
<div>Stuff</div>
</button>
```
Not good? It renders on my browser just fine.
youtu.be/Ji4Y5vo-gOg?...
Live demoes are a lot more impactful. Screen captures have less stress and risk but are less engaging.
I am going to give more live demos in my company product demos.
Live demoes are a lot more impactful. Screen captures have less stress and risk but are less engaging.
I am going to give more live demos in my company product demos.
rccl.ink/labeler
Subscribe to the labeler and if you see some post in the feed that is not about svelte or some post that is about svelte but is not in the feed report it to the labeler and i will manually add/remove it! 🧡
rccl.ink/labeler
Subscribe to the labeler and if you see some post in the feed that is not about svelte or some post that is about svelte but is not in the feed report it to the labeler and i will manually add/remove it! 🧡
const arr = [null, true, false]
const newArr = arr.filter((value) => value !== null)
newArr will be typed as a `boolean[]` and not (boolean | null)[]
All thanks to inferred type predicates introduced in Typescript 5.5.
www.typescriptlang.org/docs/handboo...
const arr = [null, true, false]
const newArr = arr.filter((value) => value !== null)
newArr will be typed as a `boolean[]` and not (boolean | null)[]
All thanks to inferred type predicates introduced in Typescript 5.5.
www.typescriptlang.org/docs/handboo...
svelte.dev/playground/2...
svelte.dev/playground/2...