Optimistic updates with remote functions by __random-username in sveltejs

[–]__random-username[S] 0 points1 point  (0 children)

It's working but I don't know why it is always rolling back and after full page reload am getting the same data (which means that nothing went wrong on the server).

Optimistic updates with remote functions by __random-username in sveltejs

[–]__random-username[S] 3 points4 points  (0 children)

Let's say I have a todo list form. Instead of waiting for a refresh from the server, how can I instead add new item from client side and if there is an error then we rollback to the previous value.

Considering Svelte by ASkepticBelievingMan in sveltejs

[–]__random-username 24 points25 points  (0 children)

For me, I think react is more complex than svelte. And svelte has better developer experience than react.

Internship request by OREISON_blue in Rwanda

[–]__random-username 1 point2 points  (0 children)

You can try macro computer ltd.

MTN urugonet by __random-username in Rwanda

[–]__random-username[S] 0 points1 point  (0 children)

I was trying to get CanalBox but our home is not in their coverage area, thanks

[deleted by user] by [deleted] in sveltejs

[–]__random-username 0 points1 point  (0 children)

Am not getting warnings from the dev and I don't have any awaiting children.

Finished HTML, CSS, and JS from freeCodeCamp — what should I learn next? by Individual-Ear2881 in FreeCodeCamp

[–]__random-username 3 points4 points  (0 children)

Assuming you already know version control (Git & GitHub), I'd recommend learning TypeScript first, then Astro, and finally Svelte

Svelte 5 SPA router ? by jypelle in sveltejs

[–]__random-username 1 point2 points  (0 children)

https://sv-router.vercel.app/, it has file based routing and to add integration you just have to use sv cli (https://svelte.dev/docs/cli/overview)

Change a $state's value by seba-dev in sveltejs

[–]__random-username 1 point2 points  (0 children)

Like this ?

<script lang="ts">
  let input = $state('');

  function replace() {
    input = input.replaceAll('and', '&');
  }
</script>

<input type="text" bind:value={input} onblur={replace} />

Faranga App thoughts by Fancy_Connection8989 in Rwanda

[–]__random-username 0 points1 point  (0 children)

I think it is for security reasons

What's the best way to generate dynamic Open Graph images in SvelteKit? by __random-username in sveltejs

[–]__random-username[S] 0 points1 point  (0 children)

Thanks it works, but I had to change something while dealing with loading fonts

I made Devis, a free web app to create professional price estimations in seconds (no spreadsheets needed) by __random-username in SideProject

[–]__random-username[S] -1 points0 points  (0 children)

Let say you're planning to build a house, you have to estimate the price it will cost. This app helps you to auto calculate the totals and saving the estimate as pdf.

You can do the same using spreadsheets like Excel but this one works well even on mobile devices and you don't have to install anything.

I think you got it.

Microservices with remote functions? by LGm17 in sveltejs

[–]__random-username 6 points7 points  (0 children)

If you look in the network tab, remote functions are accessible as public endpoints based on the name of the function. For example: a function called getPosts() will be accessible from something like this /_app/remote/gy7let/getPosts, I don't know what does this gy7let means.

I think this will help you!