This Week in Svelte (2023 July 7) - Svelte 4.0.5, Kit 1.22.1, Svelte 5, local storage and markdown

Svelte Society July 9, 2023
Video Thumbnail
Svelte Society Logo

Svelte Society

@sveltesociety

About

Want to sponsor the channel? Email [email protected] We are a global network of Svelte enthusiasts looking to help and inspire one another to build incredible web and native experiences with Svelte!

Video Description

This Week in Svelte is a weekly event where we casually discuss things that happened on the Svelte Discord, showcase community projects, and review some popular Q&A to learn and grow together. This week’s topics: 0:00 Introduction 0:21 Changelog - Svelte 4.0.2-4.0.5, SvelteKit 1.22.0-1.22.1 4:41 Quick facts - @const usage tips, form.requestSubmit() 12:26 Discussion - Svelte 5 wish list 19:51 Q&A - Using local storage with a custom store 23:42 Q&A - how to safely use setInterval() 27:01 Q&A - how to reuse code across multiple projects 31:59 Q&A - how to use markdown with SvelteKit Links - New SvelteKit behaviour with `Vary` header during content negotiation: https://kit.svelte.dev/docs/routing#server-content-negotiation - Const example by @karimfromjordan: https://twitter.com/karimfromjordan/status/1674100230667620353 - .submit() and .requestSubmit() https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/submit - “What features would you like to see in Svelte 5?” by Dominic Gannaway (@truadm) on Twitter: https://twitter.com/trueadm/status/1676694161188159490?t=uI5K0W8QQMojfdC50oubPg&s=19 - “Svelte 5 wishlist” thread on Discord: https://discord.com/channels/457912077277855764/1126257692273541120 - Svelte RFC “Conditional slots”: https://github.com/sveltejs/rfcs/pull/64 - Svelte RFC “forward directive”: https://github.com/sveltejs/rfcs/pull/60 - CSS compiler options, proposal by Enrico: https://github.com/sveltejs/svelte/issues/8354 - Local storage Svelte store by Square: https://github.com/square/svelte-store#persisted - Local storage Svelte store by joshnuss: https://github.com/joshnuss/svelte-local-storage-store - Local storage Svelte store by babichjacob: https://github.com/babichjacob/svelte-localstorage Code shared - “mdsvex in SvelteKit” by Enrico: https://www.sveltelab.dev/vcrn9v2tu26r6x8 This Week in Svelte catalogue: https://docs.google.com/document/d/1YwoeYg23Pa4a2VkE8MrZ4Mla27JmnEWZAv2vXAIzydI/edit#heading=h.bpr9ahr066cb

Boost Your Svelte Development Today

AI-recommended products based on this video

Loading...
The Official We Do Not Care Club Handbook: A Guide for Women in Perimenopause and Menopause Who Are Over It
Best Seller

The Official We Do Not Care Club Handbook: A Guide for Women in Perimenopause and Menopause Who Are Over It

(0)
$16.80
FREE delivery Fri, Jan 16 on $35 of items shipped by Amazon
Loading...
The Official We Do Not Care Club Handbook: A Guide for Women in Perimenopause and Menopause Who Are Over It
Best Seller

The Official We Do Not Care Club Handbook: A Guide for Women in Perimenopause and Menopause Who Are Over It

(0)
$11.99
This title will be released on January 13, 2026.
Loading...
Hydrocolloid Bandages for Wound Care, Extra Large Medical-Grade Hydrocolloid Roll with Self-Adhesive, Ultra Absorbent, Flexible & Waterproof, DIY Size & Shape First Aid Kit Essential (2in*4.8ft)

Hydrocolloid Bandages for Wound Care, Extra Large Medical-Grade Hydrocolloid Roll with Self-Adhesive, Ultra Absorbent, Flexible & Waterproof, DIY Size & Shape First Aid Kit Essential (2in*4.8ft)

(126)
$8.99
FREE delivery Fri, Oct 3 on $35 of items shipped by Amazon
8K+ bought in past month
Loading...
Zadin 2PCS Bald Cap for Men Women Costume, Wig Head Cap, Mr Clean Costume, Halloween Latex Dr Nefario Bald Kit

Zadin 2PCS Bald Cap for Men Women Costume, Wig Head Cap, Mr Clean Costume, Halloween Latex Dr Nefario Bald Kit

(18)
$9.98
FREE delivery Thu, Sep 25 on $35 of items shipped by Amazon
200+ bought in past month
Loading...
Rain-X 600001 Windshield Repair Kit - Quick and Easy Durable Resin Based Windshield Repair Kit for Chips and Cracks, Good for Round Damage Below 1" in Diameter and Cracks Smaller Than 12" in Length
Best Seller

Rain-X 600001 Windshield Repair Kit - Quick and Easy Durable Resin Based Windshield Repair Kit for Chips and Cracks, Good for Round Damage Below 1" in Diameter and Cracks Smaller Than 12" in Length

(45,116)
$11.53$11.49
FREE delivery Sun, Sep 21 on $35 of items shipped by Amazon
20K+ bought in past month
Loading...
GOOACC - GRC-33 240PCS Bumper Retainer Clips Car Plastic Rivets Fasteners Push Retainer Kit Most Popular Sizes Auto Push Pin Rivets Set -Door Trim Panel Fender Clips for GM Ford Toyota Honda Chrysler
Best Seller

GOOACC - GRC-33 240PCS Bumper Retainer Clips Car Plastic Rivets Fasteners Push Retainer Kit Most Popular Sizes Auto Push Pin Rivets Set -Door Trim Panel Fender Clips for GM Ford Toyota Honda Chrysler

(76,396)
$10.92$10.37
FREE delivery Sun, Sep 21 on $35 of items shipped by Amazon
20K+ bought in past month
Loading...
REOLINK Wireless Outdoor Security Camera Lumus 2K, Upgraded 4MP Spotlight Color Night Vision, 2.4/5GHz Dual-Band WiFi Plug in Camera, Smart Person/Vehicle/Animal Detection, Two-Way Talk, Local Storage

REOLINK Wireless Outdoor Security Camera Lumus 2K, Upgraded 4MP Spotlight Color Night Vision, 2.4/5GHz Dual-Band WiFi Plug in Camera, Smart Person/Vehicle/Animal Detection, Two-Way Talk, Local Storage

(4,432)
49.99
PrimeFREE delivery Saturday, June 14
500+ bought in past month
Loading...
16/3 25 FT Outdoor Extension Cord Waterproof, Weatherproof & Flame Retardant Black 3 Prong Power Cord Outside for Lawn & Garden, 13 Amps 1625 Watts 125 VAC 16AWG SJTW, ETL Listed
Best Seller

16/3 25 FT Outdoor Extension Cord Waterproof, Weatherproof & Flame Retardant Black 3 Prong Power Cord Outside for Lawn & Garden, 13 Amps 1625 Watts 125 VAC 16AWG SJTW, ETL Listed

(1,473)
$8.54
FREE delivery Thu, Sep 25 on $35 of items shipped by Amazon
10K+ bought in past month
Loading...
Surge Protector Power Strip - CHCORE 5Ft Braided Extension Cord with 8 Outlets with 4 USB (2 USB C) Charging Ports, Flat Plug Multi Plug Outlet Extender Charging Station for Home Office, ETL, White ClimatePartner certified

Surge Protector Power Strip - CHCORE 5Ft Braided Extension Cord with 8 Outlets with 4 USB (2 USB C) Charging Ports, Flat Plug Multi Plug Outlet Extender Charging Station for Home Office, ETL, White ClimatePartner certified

(4,122)
$8.97
FREE delivery Sat, Oct 11 on $35 of items shipped by Amazon
10K+ bought in past month
Loading...
REOLINK Wireless Outdoor Security Camera Lumus 2K, Upgraded 4MP Spotlight Color Night Vision, 2.4/5GHz Dual-Band WiFi Plug in Camera, Smart Person/Vehicle/Animal Detection, Two-Way Talk, Local Storage

REOLINK Wireless Outdoor Security Camera Lumus 2K, Upgraded 4MP Spotlight Color Night Vision, 2.4/5GHz Dual-Band WiFi Plug in Camera, Smart Person/Vehicle/Animal Detection, Two-Way Talk, Local Storage

(4,432)
49.99
PrimeFREE delivery Saturday, June 14
500+ bought in past month