Skip to content

Commit 2dc4ae0

Browse files
committed
october first draft
1 parent 89cacf7 commit 2dc4ae0

File tree

1 file changed

+95
-0
lines changed

1 file changed

+95
-0
lines changed
Lines changed: 95 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,95 @@
1+
---
2+
title: "What's new in Svelte: October 2024"
3+
description: 'Better each blocks and a callstack for infinite loops'
4+
author: Dani Sandoval
5+
authorURL: https://dreamindani.com
6+
---
7+
8+
Thanks to the number of folks who have been trying the Svelte 5 release candidates, the maintainers have been hard at work in addressing bugs and implementing performance improvements for the upcoming release. This month, we'll cover the most notable changes along with the many apps, resources and libraries that the community has created over the last few weeks.
9+
10+
## What's new in Svelte
11+
12+
- Legacy components can now be manually instantiated asynchronously with the `sync` option (**5.0.0-next.237**, [#12970](https://github.com/sveltejs/svelte/pull/12970))
13+
- The `each` block is now much better in SSR mode - removing an unnecessary declaration and caching the length of the array before iterating over it (**5.0.0-next.242**, [#13060](https://github.com/sveltejs/svelte/pull/13060))
14+
- A callstack will now appear if an infinite loop is detected - with the last ten effects printed out - in development mode (5.0.0-next.246, [#13231](https://github.com/sveltejs/svelte/pull/13231))
15+
- There are now a11y warnings for `<button>`/`<a>` elements that are missing an aria-label and content (**5.0.0-next.250**, [#13130](https://github.com/sveltejs/svelte/pull/13130))
16+
- Animations now take into account `zoom` when calculating transforms (**5.0.0-next.254**, [#13317](https://github.com/sveltejs/svelte/pull/13317))
17+
- `<svelte:self>` is now deprecated in runes mode. It's not necessary since components can now import themselves (**5.0.0-next.256**, [#13333](https://github.com/sveltejs/svelte/pull/13333))
18+
19+
Curious to see all that the maintainers have been up to in getting Svelte 5 production ready? Check out the [CHANGELOG](https://github.com/sveltejs/svelte/blob/main/packages/svelte/CHANGELOG.md) to see all the fixes - big and small!
20+
21+
22+
## What's new in SvelteKit and Language Tools
23+
- SvelteKit now suports typed arrays in `load` functions. It's "not something to over-use, since it uses base64 encoding which is 33% larger than the raw data, but useful when you need it"(**2.6.0**, [#12716](https://github.com/sveltejs/kit/pull/12716))
24+
- Components typed through Svelte 5's `Component` interface get proper intellisense (**extensions-109.0.1**)
25+
26+
27+
---
28+
29+
## Community Showcase
30+
31+
**Apps & Sites built with Svelte**
32+
33+
- [svelte0.dev](https://svelte0.dev/) lets you generate Svelte UIs using `shadcn/ui` via a text prompt
34+
- [Mini Spreadsheet Component](https://www.reddit.com/r/sveltejs/comments/1fc2zy4/mini_spreadsheet_component_with_svelte_5/) is a great introduction to how reactivity works in Svelte
35+
- [Poof](https://poofnote.com/) is a self-destructing notes app that includes features like an optional to do list, email alerts and deleting after a specific date
36+
- [kunft](https://kunft.cloud/) is a cloud platform for deploying docker containers and apps directly from GitHub
37+
- [quickprompt](https://quickprompt.app/) is a browser extension to make saving and retrieving ChatGPT prompts easy
38+
- [Dither](https://github.com/fauntleroy/dither) is a lo-fi GIF chat app inspired by Return of the Obra Dinn and Meatspac.es
39+
- [cobalt](https://github.com/imputnet/cobalt) helps you save anything from your favorite websites: video, audio, photos or gifs
40+
- [YouTube Looper](https://chromewebstore.google.com/detail/youtube-looper/bidjeabmcpopfddfcnpniceojmkklcje) is a custom loops extension for Youtube videos
41+
- [LeetLink](https://leetlnk.com/) is a linktree-a-like with customizable themes
42+
- [WhatChord](https://whatchord.org/) is a chord finder for piano
43+
- [AIUI](https://github.com/jxqu3/aiui) is a web UI for OAI-Compatible APIs
44+
45+
**Learning Resources**
46+
47+
_Featuring Svelte Contributors and Ambassadors_
48+
49+
- [Dockerizing Your SvelteKit Applications: A Practical Guide](https://khromov.se/dockerizing-your-sveltekit-applications-a-practical-guide/) by Stanislav Khromov
50+
- [Is Local First the future of web development?](https://www.youtube.com/watch?v=GJ3tObziewU), [The hidden benefit of upgrading to Svelte 5 - smaller bundle sizes](https://www.youtube.com/watch?v=5Sm6Igq0PQM) and [SvelteKit Streaming Explained: When and How to Use It](https://www.youtube.com/watch?v=39sIJgr7B2Y) - Videos by Stanislav Khromov
51+
- [Svelte 5 - everything about the new APIs](https://www.youtube.com/watch?v=OETs1LKhW0A) with Simon Holthausen at CITYJS CONFERENCE
52+
- [Learn How To Use Svelte 5 Snippets](https://www.youtube.com/watch?v=OlWWIbRz438) by Joy of Code
53+
- [Svelte London - September 2024](https://www.youtube.com/watch?v=BWh-jVB3Hk8) feat. maya with "The Joy of Side Projects ✨"
54+
55+
56+
_This Week in Svelte_
57+
58+
- [Ep. 74](https://www.youtube.com/watch?v=nMs4X8-L_yo) — Changelog, race and maybeStream, svelte:component obsolete
59+
- [Ep. 75](https://www.youtube.com/watch?v=bFodoz9Mlbw) — Changelog, $props, $state
60+
- [Ep. 76](https://www.youtube.com/watch?v=UeVKFYNXCrE) — Changelog, svelte-fsm, script module, trailing slash
61+
- [Ep. 77](https://www.youtube.com/watch?v=9hUAhxWwgyg) — Changelog, Context API, JSX and Single FIle Components
62+
- [Ep. 78](https://www.youtube.com/watch?v=wb53pDClQm0) — Changelog, Indeterminate checkbox, classes and actions
63+
64+
65+
_Svienna 09/2024_
66+
67+
- [How to embrace Zod in your SvelteKit](https://www.youtube.com/watch?v=j51whPgjhns) by Sasan Jaghori
68+
- [Dates an intersection of a romantic story and Dates in JS](https://www.youtube.com/watch?v=9HBVmUv7gpU) by Domenik Reitzner
69+
- [Svelte 5: Why the hell did you do that](https://www.youtube.com/watch?v=iMUEZWaSzG8) by Simon Holthausen
70+
71+
_To Read_
72+
73+
- [My thoughts on upgrading a ~15,000 LOC project to Svelte 5](https://www.reddit.com/r/sveltejs/comments/1frg58w/my_thoughts_on_upgrading_a_15000_loc_project_to/) by /u/practisingdeeplurk
74+
- [How to Publish an Unbundled Svelte Package to npm](https://matthewdavis.io/how-to-publish-an-unbundled-svelte-package-to-npm/) by Matthew Davis
75+
- [Migrating YouTube Looper to Svelte 5](https://medium.com/@wilkerlucio/migrating-youtube-looper-to-svelte-5-1a8b9b759582) by Wilker Lucio
76+
- [Breaking out of Svelte's reactive statements](https://zellwk.com/blog/svelte-reactive-statements-breakout/) by Zell Liew
77+
- [Data Visualizations using Svelte and D3](https://datavisualizationwithsvelte.com/) by DataVizSvelte
78+
79+
80+
_To Watch_
81+
82+
- [Sveltekit Data Fetching in 2024 Explained](https://www.youtube.com/watch?v=j9Wf_nyKin4) by Ben Davis
83+
- [DB or not DB?](https://www.youtube.com/watch?v=IFoqCz4ujls) and [Github issues as CMS?](https://www.youtube.com/watch?v=UML33lIcEOc) by With Svelte
84+
- [Crash course on Sveltekit Superforms](https://www.youtube.com/watch?v=H_bT84X1hKc) and [Build a Full-stack Ecommerce Platform with Sveltekit, Vendure, Houdinigql, Shadcn-svelte](https://www.youtube.com/watch?v=kbL2gu6wVmM) by Lawal Adebola
85+
86+
87+
**Libraries, Tools & Components**
88+
89+
- [Tzezar's Datagrid](https://tzezars-datagrid.vercel.app/) is an easy to use and easy to customize datagrid component
90+
- [SparklePost](https://github.com/khromov/sparklepost) is a demo application that implements interface patterns commonly found in native iOS and Android apps, using modern and performant web development techniques
91+
- [tipex](https://github.com/friendofsvelte/tipex) is a customizable rich text editor for SvelteKit; based on TipTap
92+
93+
That's it for this month! Let us know if we missed anything on [Reddit](https://www.reddit.com/r/sveltejs/) or [Discord](https://discord.gg/svelte).
94+
95+
Until next time 👋

0 commit comments

Comments
 (0)