Masthash

#SvelteKit

Dylan </closingtags.com>
5 days ago

Enabling Persistent Storage in IndexedDB

Exploring how to mark #IndexedDB storage as persistent for an offline first #PWA built with #SvelteKit

https://www.closingtags.com/enabling-persistent-storage-in-indexeddb/

Kyle Nazario
5 days ago

New personal blog is live! Rewritten with ✨SvelteKit ✨, which is a joy to work with

Site: https://www.kylenazario.com
Source: https://github.com/kyle-n/kyle-n.github.io

#WebDev #svelte #SvelteJS #SvelteKit

🤔 I'm considering using #pnpm over #npm for my #SvelteKit project.

I'm mostly interested in a more human-readable lock file for git diffs.

What else should I consider?

https://pnpm.io/

Fabian Vilers
1 week ago

Demain, j'aurai le plaisir du vous parler de Svelte au MIC - Meet Innovate Create et de comment cet outil permettra de relaxer la pression sur les développeurs et de peut-être guérir de la fatigue JavaScript.

Inscriptions sur https://www.meetup.com/fr-FR/mtg-wallonie/events/295948348/

#svelte #sveltekit #meetup #wallonie #mons #mtg

Davey
2 weeks ago
thurti
3 weeks ago

Hey #sveltekit folks. What's the best approach for making api calls to an external domain which requires auth by cookie?
Currently I do a local fetch to /api/... and use the handle server hook to make another fetch to the actual api. While this works it feels kind of hacky and doesn't work well in case of an error response. #webdev

Rafal
3 weeks ago

𝕯𝖊𝖇𝖚𝖌𝖌𝖎𝖓𝖌 𝕵𝖆𝖛𝖆𝖘𝖈𝖗𝖎𝖕𝖙 #sveltekit

Will Iverson
3 weeks ago

I am literally going to have to rewrite the https://Dayboard.io parent and family apps in another stack because of this. Maybe capacitor/Tauri/Sveltekit, Godot, or native swift/Kotlin.

Ugh.

#unity #godot #capacitor #sveltekit #svelte #swift #kotlin

https://www.gamedeveloper.com/business/the-death-of-unity

Geoff Rich
3 weeks ago

This is *extremely* cool. SVELTROID: the HUD and visors from Metroid Prime, recreated with #SvelteKit and Three.js. Even scanning works! The world is rendered via Three, but the HUD is all #Svelte components. Shared by Tyler Johnson in the Svelte Discord's showcase channel.

Demo link: https://sveltroid.vercel.app
Works best with desktop Chrome, since you need to use keyboard controls.

Geoff Rich
3 weeks ago

Updated my #SvelteKit view transitions blog post from last year to use `onNavigate` instead of my previous hacky solution.

So much cleaner now! And much less prone to race conditions. This is one thing I appreciate about blog posts as opposed to video content -- it's much easier to update when information gets outdated.

https://geoffrich.net/posts/page-transitions-1/

Adam Fortuna
3 weeks ago

This D3.js data visualization I’m working on started as a page on my (Next.js) blog, but I think it’ll be better long-term to have it in its own repo.

After some planning for what I’ll need, I think The Pudding’s Svelte Starter Repo is the way to go. Coming from a group whose primary focus is D3.js data Viz, this looks far better than anything I could come up with.

Anyone have any recommended resources for learning Svelte?

https://github.com/the-pudding/svelte-starter

#d3 #Svelte #SvelteKit #dataviz #d3js

Coding with Jesse
3 weeks ago

Working on my PHP side project, feeling an intense pull to migrate it to SvelteKit. But I know this is the biggest trap every coder with a side project can relate to - working on architectural changes instead of features. On the other hand, I love #SvelteKit and can make this thing way better with Svelte & SvelteKit than I ever will be able to with PHP. #Svelte + #PHP might be the way, except I lose the server-side rendering. Send help pls. :blob_dizzy_face:

Will Iverson
3 weeks ago

Last few weeks: set up two #Unity projects, a #Swift Apple Watch project, Sign in with Apple, switched to Cloudflare for DNS, and a ton of other stuff. Now I'm setting up a #SvelteKit project and over the last 6-12 months there have been So. Many. Changes.

I'm basically getting it all working now, but man. The new project setup and just getting to Hello World... oof.

Fabian Vilers
4 weeks ago

Ce 26 septembre 2023, j'aurai le plaisir du vous parler de Svelte au MIC - Meet Innovate Create et de comment cet outil permettra de relaxer la pression sur les développeurs et de peut-être guérir de la fatigue JavaScript.

Inscriptions sur https://www.meetup.com/fr-FR/mtg-wallonie/events/295948348/

#svelte #sveltekit #meetup #wallonie #mons #mtg

Dorian Zedler
4 weeks ago

Finally got around to create my new Website 🥳
It's built from scratch using only #tailwind and #sveltekit and hosted on #cloudflare ! It's the first site I completely designed and built myself and I'm really happy with the result, even though, it's not full complete yet.

Check it out at:
https://dorian.im

Or on GitHub:
https://github.com/dorianim/portfolio

Jon Croce
1 month ago

TIL that apparently animators think of "easing in" the opposite way that developers think of the term.

Discovered this when I was making a demo for an animator and they said I had it backwards :blobfoxconfused:

Here's the wee demo for anyone interested: https://joncroce.github.io/timing-and-spacing-demo/

Having a lot of fun lately making these sorts of things in #SvelteKit with Animotion :blobfoxartist:

Philipp Hartenfeller
1 month ago

New video about smooth page / view transitions in #SvelteKit: https://youtu.be/whNdqjrVFsg

Geoff Rich
1 month ago

Want to use view transitions in your #SvelteKit app?

v1.24 unlocks view transitions with a new lifecycle method. We’ve already added them to the #Svelte site - watch the blog titles slide into place! (note: it will fade instead of slide if reduced-motion is requested)

Read all about it in my latest on the Svelte blog: https://svelte.dev/blog/view-transitions

Robin Opletal
1 month ago

#mdsvex with #svelte (and #sveltekit) is literally magic

Tjerk
1 month ago

#introduction

Hey there!

I am Tjerk (pronounced as Chair + k). I teach web development and UI/UX design. Have a small indie development studio and love to use #svelte and #sveltekit.

Looking for more webdesign inspiration and pictures of home grown vegetables and cats.

PS: Recently moved over from mastodon.social.

Kevin Renskers
1 month ago

Hi! I'm Kevin, a creative creative Dutch freelance developer with a passion for good design and intuitive, user friendly interfaces.

By day I use #Swift, #Svelte, #SvelteKit, #TypeScript, #Django and #Python to make apps for iOS and the web, and the APIs that drive them. At night I’m looking for the best burger in the world.

I've been building websites since 2000, and iOS apps since 2010.

Huge D&D nerd, building https://www.critical-notes.com in my free time.

Thilo Maier
1 month ago

There appears to be an issue running tests with @vitest ^0.34.0 in a #SvelteKit project.

Pinning Vitest to 0.33.0 helps as a workaround.

https://github.com/vitest-dev/vitest/issues/3886

Dependencies in a package.json with vitest pinned to version 0.33.0.
Sebastian Lammers
1 month ago

⭐ New project out today:
https://storiesfromthenightsky.netlify.app/

The light from the #stars travels for years (and years) until it reaches your eyes. This #interactive #map of the night sky shows you for each star what happened on Earth when the light started traveling from the star to you. That way, any star has a story to tell you. You can zoom in, move around and hover all the stars to reveal the historical events they are connected to.

Built with #svelte #d3 and #sveltekit

Screenshot with a big text that reads "Stories from the night sky" in bold white letters on a dark blue background. On top there is a star-shaped icon and below the large text, smaller text reads "A data-driven visual experiment." and on a new line "By Sebastian Lammers".
Screenshot of a map of the night sky. On top there is text that reads "Which star tells the most interesting story to you?". The map shows around 50-60 stars, depicted as white circles on a dark blue background. A computer cursor shaped like a hand is hovering one of the stars. This star is enlarged and has a purple outline. Right below the cursor there is a white tooltip textbox that contains information about the hovered star. The information reads as follows. Star ID: 113881. Star Name: Scheat. Distance: 200 light years. Year: 1829 CE. Event(s): Sir Robert Peel founds the Metropolitan Police Service, the first modern police force.
Below the map there is a group of buttons that include arrow buttons for all directions, zoom-buttons, a reset button and a button with a star-symbol.
Screenshot of a map of the night sky. On top there is text that reads "Which star tells the most interesting story to you?". The map shows around 50-60 stars, depicted as white circles on a dark blue background. A computer cursor shaped like a hand is hovering one of the stars. This star is enlarged and has a purple outline. Right below the cursor there is a white tooltip textbox that contains information about the hovered star. The information reads as follows. Star ID: 9640. Star Name: Almach. Distance: 390 light years. Year: 1631 CE. Event(s): Mount Vesuvius erupts.

Below the map there is a group of buttons that include arrow buttons for all directions, zoom-buttons, a reset button and a button with a star-symbol.
Thilo Maier
1 month ago

@drwpow What do you like most about #SvelteKit?

miunau
1 month ago

Bodyguard: new Fetch API compatible, streaming body parser (think body-parser for express but ESM- and Fetch API only).

Simple, 100% test covered, ESM-only API that's hard to mess up written in TypeScript.

Automatically parses UTF8 JSON and form data streams into JavaScript objects.

Prevents resource exhaustion by bailing early on streams that are too large, have too many (or too large) keys, or have too much nesting.

Allows nested object and array form data with dot and square bracket syntax in both multipart and URL-encoded forms.

https://github.com/auth70/bodyguard

#typescript #sveltekit #honojs #nextjs

Drew Powers
2 months ago

how is #sveltekit so good.

no, really … HOW IS IT SO GOOD

Geoff Rich
2 months ago

I did a JS Drop for This Dot Labs giving a 90 minute crash course on #SvelteKit - we build a music library app (called "Sveltunes", of course) that shows off all the core SvelteKit features:

🔀 routing
📥 data loading
🌊 streaming
🪄 progressively enhanced forms
⚡️ optimistic UI
🎨 rendering options

https://youtu.be/MaF8kRbHbi0

Philipp Hartenfeller
2 months ago

New video on image optimization in #SvelteKit with vite-imagetools. The lib uses sharp to reduce image sizes, change formats, etc. Great tool!
https://youtu.be/285vSLe9LQ8

Stéphane Klein
2 months ago

Je viens de découvrir que SvelteKit a un mécanisme de détection de mise à jour intégré https://kit.svelte.dev/docs/configuration#version

(pour forcer le reload front en cas de déploiement)

#SvelteKit

Fabian Vilers
2 months ago

Svelte is such a pleasure to work with. One of the feature I really appreciate is to add modifiers to DOM events with the pipe character. Not having to prevent default in handler is super handy.

#svelte #sveltekit

Evan Marie Carr
2 months ago

NJATMDB: Kinda like TMDB...just prettier

I learn by creating. So I learned Svelte / SvelteKit by making this extensive webapp! I think it is kind of amazingly beautiful myself! Check it out! https://njatmdb.netlify.app/

"Not Just Another TMDB" is a dynamic movie database application that brings movies, TV shows, and celebrities to your fingertips, built using SvelteKit and Vite and empowered by the TMDB API.

#webapp #appdev #programming #svelte #sveltekit #javascript

🔎👨‍💻 I have consulting availability and am looking to connect on a new project.

My current skills/interests include #Elixir, #Phoenix, #LiveView, #Svelte, #SvelteKit, event sourcing, and #GraphQL. #MyElixirStatus

My superpowers include detailed project management alongside team support and mentoring.

You can find more info, rates, testimonials, and examples of my work at:

https://mikezornek.com/for-hire/

❤️ Reshares are very welcome and appreciated. TY.

Robin Opletal
2 months ago

Just started working on my new site in #svelte (with #sveltekit).

This kind of #frontend makes sense. I like it.

Thilo Maier
2 months ago

@chuckmunson You may be looking at an outdated tutorial. There were some major router changes pre-1.0 about a year ago.

This is the official tutorial for #Svelte and #SvelteKit:

https://learn.svelte.dev/

Chuck Munson
2 months ago

The biggest thing that slows me down when learning new tech is running into basic issues when setting things up. Like with #SvelteKit. The basic index page shows up in the browser, but when I create any other new page, nada. Did I miss setting something up? So frustrating. I've searched for some answers, but have found nothing and this type of problem is hard to describe.

Preslav Rachev
2 months ago

I have been evaluating #SvelteKit for one of my personal business projects, and cannot really decide if adding it is going to be a blessing, or a total headache in the long run. I want it mainly as the front end counterpart to a #golang-based backend.

I love #Svelte for its simplicity, and it has saved my back in quite a few situations. However, looking at SvelteKit, integrating it into a real production scenario is anything but simple.

#programming

Kevin Renskers :apple:
2 months ago

I think for me peak programming happiness was back in 2005 or so. Windows XP, UltraEdit, Total Commander, WinAmp, PHP.

Everything was so much simpler. Sprinkle in a tiny bit of JavaScript here and there but basically everything was a simple server-side rendered PHP page.

But I have to say that going back to web development after mostly doing iOS since 2012, has been amazing for my motivation. #SvelteKit is truly amazing and I still really appreciate #Django and DRF.

Jimmy Thomas
2 months ago

if @astro isn't your favorite web framework, you're wrong. It's just a joy to work with. Right tool for the right job, of course, but after using Astro I can't imagine using SSG in Nuxt or Sveltekit again. #astrojs #nuxtjs #sveltekit

Damn, #svelte is awesome but #sveltekit is a mess with this naming scheme.

What advantages does `foo/bar/+page.svelte` has over `foo/bar.page.svelte`? I waste an incredible amount of time looking for files.

A bunch of +page and +layout everywhere
Dylan </closingtags.com>
2 months ago

SvelteKit Up and Running is available now!

Today is the day! You can now buy my new book, SvelteKit Up and Running. Visit https://sveltekitbook.dev to get your copy! #svelte #SvelteKit #book

https://www.closingtags.com/sveltekit-up-and-running-is-available-now/

Thilo Maier
2 months ago

@fasnix @keithjgrant If you are sure you have to build a web app yourself, the #SvelteKit and #Svelte combo is probably more enjoyable than most competitors.

If you just want to brush up your web dev skills, invest in web platform fundamentals, e.g., CSS.

If you just want to get something done consider #nocode options.

And if you want a web dev job, learn #React.

Geoff Rich
2 months ago

Delivered my first in person conference talk _ever_ at #ThatConference WI today! “Building Efficient and Resilient Web Apps With #SvelteKit

Slides/resources: https://geoffrich.net/posts/thatconf-2023/

A photo of the front of the conference room. There is a podium with a laptop on it. The projector screen shows “building efficient and resilient web apps with SvelteKit”

FireShip
SvelteKit

Ok I have to admit I didnt know that SvelteKit did automatic global state management.

In react most of the time my challenge is global & local state management.

I understand why Front-end devs love SvelteKit.

https://youtu.be/H1eEFfAkIik

#svelte
#svelteKit
#webdev
#fireship

Geoff Rich
3 months ago

Had a great time tonight giving an introduction to #SvelteKit at SeattleJS!

Slides/resources: https://geoffrich.net/posts/seattlejs-2023/

Geoff presenting on SvelteKit, in front of a table with his right hand raised
Philipp Hartenfeller
3 months ago

New video 🥳 :
Markdown in #SvelteKit with custom components: mdsvex
https://youtu.be/VJFkyGd0FEA