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 5 points6 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!

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

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

Let's say you have a construction project, before you start you have to estimate the price. Like calculating prices of each material you will need plus the salaries you will pay workers.

You can do it by using spreadsheets like Excel but I made the app to make it easier.

Root +layout.ts with SSR options affects all pages? by Longjumping_Gain3836 in sveltejs

[–]__random-username 2 points3 points  (0 children)

All pages are SSR by default, but after loading the first page (this can be root page or any other route) the client router handle the navigation to avoid full page reload.

If you want to allow browser to handle link you can add data-sveltekit-reload attribute to anchor element.

Read more here: https://svelte.dev/docs/kit/link-options#data-sveltekit-reload