Skip to content

Commit e771a2d

Browse files
committed
march first draft
1 parent fb14a04 commit e771a2d

File tree

1 file changed

+72
-0
lines changed

1 file changed

+72
-0
lines changed
Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
---
2+
title: "What's new in Svelte: March 2024"
3+
description: 'Nested CSS support and a much cleaner client-side API for Svelte 5'
4+
author: Dani Sandoval
5+
authorURL: https://dreamindani.com
6+
---
7+
8+
This month, the Svelte maintainers made a ton of progress on Svelte 5 and Rich Harris talked to Prismic about how the team is working on making the framework even better.
9+
10+
Lots to showcase too... so let's dive in!
11+
12+
13+
## What's new in Svelte
14+
15+
As you may already have heard, [Svelte 5 is in preview](https://svelte-5-preview.vercel.app/docs/introduction). In the meantime, Svelte 4 (`@latest`) has had [one bugfix](https://github.com/sveltejs/svelte/blob/svelte-4/packages/svelte/CHANGELOG.md). The Svelte 5 changelog has quite a few updates, though:
16+
17+
- breaking: `$derived.call` is now `$derived.by` (**5.0.0-next.54**, [Docs](https://svelte-5-preview.vercel.app/docs/runes#derived-by), [#10445](https://github.com/sveltejs/svelte/pull/10445))
18+
- Destructuring derived object properties will now keep fine-grain reactivity (**5.0.0-next.55**, [Docs](https://svelte-5-preview.vercel.app/docs/runes#derived), [#10488](https://github.com/sveltejs/svelte/pull/10488))
19+
- The new `hydrate` method makes hydration-related code treeshakeable (**5.0.0-next.56**, [Docs](https://svelte-5-preview.vercel.app/docs/functions#hydrate), [#10497](https://github.com/sveltejs/svelte/pull/10497))
20+
- Nested CSS is now supported, along with better support for `:is(...)` and `:where(...)` (**5.0.0-next.57**, [#10490](https://github.com/sveltejs/svelte/pull/10490))
21+
- breaking: The client-side API has been simplified by removing `createRoot`, adjusting the `mount`/`hydrate` APIs and introducing `unmount` (**5.0.0-next.58**, [Issue#9827](https://github.com/sveltejs/svelte/issues/9827), [#10516](https://github.com/sveltejs/svelte/pull/10497))
22+
23+
For all the bug fixes, chores and underlying work required to get Svelte 5 to release-ready, check out [the CHANGELOG on main](https://github.com/sveltejs/svelte/blob/main/packages/svelte/CHANGELOG.md).
24+
25+
26+
---
27+
28+
## Community Showcase
29+
30+
**Apps & Sites built with Svelte**
31+
32+
- [Wishgram](https://www.wishgram.xyz/) is a tool to generate handwritten wishing cards
33+
- [rfidify](https://github.com/jonathanjameswilliams26/rfidify) is a Raspberry PI RFID reader that plays things on Spotify
34+
- [listn.fyi](https://listn.fyi/) is a fun and easy way to share what music you're currently into
35+
- [Meowrite](https://www.meowrite.com/) is an AI writing tool for cover letters, essays and more
36+
- [Photo Multitool](https://www.photomultitool.com/) is a free set of online tools for manipulating photos
37+
- [sveltekit-weather-app](https://github.com/maxjerry0107/sveltekit-weather-app) is a gorgeous weather app made with SvelteKit
38+
39+
**Learning Resources**
40+
41+
_Featuring Svelte Contributors and Ambassadors_
42+
- [How to make a great framework better? - Svelte 5 with Rich Harris](https://www.youtube.com/watch?v=z7n17ajJpCo) by Prismic
43+
- [Svelte 5 is a beast, but is it worth switching?](https://www.youtube.com/watch?v=KB6zkvYJqoE&lc=UgxFIaNKUG5as18CSzp4AaABAg) by Syntax.FM
44+
- This Week in Svelte:
45+
-
46+
47+
_To Read/Watch_
48+
49+
- [Upgrading to Svelte 5](https://gitcontext.com/blog/svelte-5-upgrade) by Mike Stachowiak
50+
- [Building with GPT4 and Svelte](https://kvak.io/meoweler) by Lev Miseri
51+
- [Mini site for recommending songs using Svelte & Deno](https://blog.bryce.io/mini-site-for-recommending-songs-using-svelte-deno) by Bryce Dorn
52+
- [Effortlessly Sync Your SvelteKit Frontend with Backend Using OpenAPI: A Step-by-Step Guide to Generating SDKs](https://www.launchnow.pro/blog/sveltekit-openapi-sdk-generation) by Launchnow
53+
- [How to build an editable website in 15 minutes in 2024](https://www.svelteheadless.com/how-to-build-an-editable-website-in-15-minutes-in-2024) by Svelte Headless
54+
- [Local-First LiveView Svelte ToDo App](https://liveview-svelte-pwa.fly.dev/) by Tony Dang
55+
56+
57+
**Libraries, Tools & Components**
58+
59+
- [Svelte UX](https://svelte-ux.techniq.dev/) and [LayerChart](https://www.layerchart.com/) now include theme support via semantic and state classes
60+
- [Huly Platform](https://github.com/hcengineering/platform) is a robust framework designed to accelerate the development of business applications, such as CRM systems
61+
- [svelte-marquee](https://github.com/selemondev/svelte-marquee) is a beautiful marquee component for Svelte
62+
- [Just Ship](https://github.com/ocluf/justship) is a SvelteKit auth boilerplate for Svelte 5
63+
- [cells](https://github.com/okcontract/cells) is a functional & reactive library for Svelte
64+
- [Svelte Headless](https://github.com/webuildsociety/svelte-headless) is an example site showing how to create a simple blog site that plugs into a headless CMS
65+
- [Sugar.css](https://sugar-css.com/) is a semantic, accessible, lightweight CSS framework
66+
- [apple-svelte](https://github.com/Carza-104/apple-svelte) is a component library for Svelte based on Apple's Human Interface design language
67+
- [SvelteKit SSE](https://github.com/tncrazvan/sveltekit-sse) provides an easy way to produce and consume server sent events.
68+
69+
70+
That's it for this month! Feel free to let us know if we missed anything on [Reddit](https://www.reddit.com/r/sveltejs/) or [Discord](https://discord.gg/svelte).
71+
72+
Until next month 👋

0 commit comments

Comments
 (0)