Arne Wiese's Avatar

Arne Wiese

@wiesson.bsky.social

Freelance Software Engineer I like working with Sveltekit, Supabase, Astro, Payload CMS, Nextjs, Vercel, (...) arnewiese.de

24 Followers  |  27 Following  |  47 Posts  |  Joined: 19.11.2023  |  2.6293

Latest posts by wiesson.bsky.social on Bluesky

Wo sucht er denn?

20.11.2025 05:59 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

We create coloring pages with nano banana, but yours is next level

07.11.2025 23:19 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

I have built various sveltekit apps and might be interested! ๐Ÿ‘€

30.10.2025 17:04 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

For form() with enhance, it tries to get the result from the await submit(); but it's actually in myFormAction.resultsโ€ฆ

Overall it works and the small mistakes are not that critical, but I have like 6 sessions running in parallel and when all are doing the same mistakes very day ๐Ÿ™ˆ

24.10.2025 07:44 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

Sure! In the GitHub repo? For example, Claude often tries to use .pending (not .loading) and sth like if remoteFunctionCmd().error (it's a command, not query)

24.10.2025 07:43 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

I'm also still experimenting, but remote functions + svelte mcp + hints how to use it in agents.md / claude.md also have a lot of small mistakes. I will try the skills next time. It's kind sad that LLMs have a knowledge cut off and everything new is not included

24.10.2025 07:08 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

Having Claude skills for remote functions, runes, and other things would be more helpful than the MCP, in my opinion. There are certain things that are always wrong and annoying to fix repeatedly (like every session) because they arenโ€™t part of the โ€œgeneral knowledgeโ€ of the LLM

23.10.2025 17:03 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

My minimal example is obviously working โ€ฆ once I find it, I will create a demo

11.10.2025 07:40 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

Iโ€˜ll create an example tomorrow

10.10.2025 22:51 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

*Same remote function

use case is that I have a header that needs the title and I have some content somewhere else that needs other data from that same remote function

10.10.2025 22:31 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

Is this a bug or feature? ๐Ÿ˜€

10.10.2025 22:30 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

@dummdidumm.bsky.social - can I call multiple remote functions on different parts on the page? Like in +layout.svelte and then in some nested components again? I'm facing a but where I call myFn.refresh() in a component and it doesn't refresh. It does, if I remove it from the +layout.svelte

10.10.2025 22:30 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
Preview
Overview โ€ข Docs โ€ข Svelte Overview โ€ข Svelte documentation

lil' treat for all you weekend builders: Svelte now has an official MCP server, courtesy of resident bot wranglers @paolo.ricciuti.me and @khromov.se ๐Ÿค–

it gives your LLM access to docs and compiler-driven diagnostics โ€” give it a spin and let us know how you get on!

svelte.dev/docs/mcp/ove...

04.10.2025 12:15 โ€” ๐Ÿ‘ 94    ๐Ÿ” 21    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 3

You don't happen to work with freelancers? Like, say, 20-40 hours per week?

04.10.2025 11:43 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
Testing all patterns for loading data with SvelteKit remote functions

demo svelte-async-remote-fn.vercel.app

04.10.2025 11:16 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Preview
GitHub - wiesson/svelte-async-remote-fn: Interactive showcase of SvelteKit Remote Functions patterns - query, command, and form patterns with live examples Interactive showcase of SvelteKit Remote Functions patterns - query, command, and form patterns with live examples - wiesson/svelte-async-remote-fn

@dummdidumm.bsky.social

github.com/wiesson/svel... I made this little page to test some patterns after each svelte/kit release to see if sth is broken or works

@sveltesociety.dev @svelte.dev

04.10.2025 11:15 โ€” ๐Ÿ‘ 4    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

I think I got it ๐Ÿ™ˆ - wasn't that hard

17.09.2025 21:26 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

const initial = await getPost(params.id);

let formData = $state({
title: initial.title,
content: initial.content
});

Maybe just like this? But what happens if id changes?

17.09.2025 21:09 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

let query = $derived(getPost(postId))
let formData = $state(query.current)

looks nice, but doesn't work, because $state doesn't react to the derived changes

17.09.2025 21:05 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

like this? If post id changes, the query reruns and $effect picks it up and updates formData. Can I (re)assign the $state without the $effect?

17.09.2025 21:02 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

@dummdidumm.bsky.social what's the preferred pattern to load data from a remote function and populate state for formData?

let postId = $derived(params.id)
let query = $derived(getPost(postId))

let formData = $state({ ... })

$effect(() => {
if(query.current) {
formData = query.current
}
}}

17.09.2025 21:01 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 2    ๐Ÿ“Œ 0

Or more in the answer ๐Ÿ˜ƒ

07.08.2025 17:49 โ€” ๐Ÿ‘ 2    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

Iโ€˜m also interested in this question :)

07.08.2025 17:49 โ€” ๐Ÿ‘ 2    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

Itโ€™s sooo good!

I have refactored like 30 routes to use the remote functions, and it feels great! Now modals can call the same functions as forms in other places without thinking about the exact path where the action might be

05.08.2025 05:50 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

Sad to read though. I'm a huuuuge fan of Claude Code

02.07.2025 10:23 โ€” ๐Ÿ‘ 2    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

I really canโ€™t wait to use it! It solves all my problems ๐Ÿ˜ƒ

Especially when working with forms. I had so many cases where the page.server.ts is located in some nested nested folder or I moved a dialog and forgot to update the action route ..

18.06.2025 14:23 โ€” ๐Ÿ‘ 2    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

Beautiful ๐Ÿฅน

30.05.2025 21:17 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

it works โ€ฆ :)

30.05.2025 20:44 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

<picard meme here>

30.05.2025 20:39 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Post image

I tried FF, Chrome and safari - its just blank

30.05.2025 20:39 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

@wiesson is following 18 prominent accounts