I like working with Sveltekit, Supabase, Astro, Payload CMS, Nextjs, Vercel, (...)
arnewiese.de
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 🙈
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 🙈
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
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
let formData = $state({
title: initial.title,
content: initial.content
});
Maybe just like this? But what happens if id changes?
let formData = $state({
title: initial.title,
content: initial.content
});
Maybe just like this? But what happens if id changes?
let formData = $state(query.current)
looks nice, but doesn't work, because $state doesn't react to the derived changes
let formData = $state(query.current)
looks nice, but doesn't work, because $state doesn't react to the derived changes
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
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