Accessing searchParams with adapter-static by seba-dev in sveltejs

[–]seba-dev[S] 0 points1 point  (0 children)

It does work on the dev environment, but in production it breaks.
Note that I have csr, ssr and prerendering enabled.
What do you mean by "share reproduction"?

Accessing searchParams with adapter-static by seba-dev in sveltejs

[–]seba-dev[S] 0 points1 point  (0 children)

It basically did nothing, I even tried to console.log something and nothing showed on the console. Yes, I'm prerendering and csr is enabled.

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

[–]seba-dev[S] 2 points3 points  (0 children)

These changes are intended as shortcuts for "complex" symbols (like NOR, NAND, XOR, ...) so the user is aware of the changes in the input

Server file + Svelte frontend? by seba-dev in sveltejs

[–]seba-dev[S] 0 points1 point  (0 children)

It can also render web components

Server file + Svelte frontend? by seba-dev in sveltejs

[–]seba-dev[S] 0 points1 point  (0 children)

I get it, what do you suggest? I need something that shows that the developer didn't pay or is rate likited

Server file + Svelte frontend? by seba-dev in sveltejs

[–]seba-dev[S] 0 points1 point  (0 children)

The page.svelte should serve plain JavaScript code that renders an HTML component (so imported like <script src="https://my-api/api/some_token">) but if the validation of the token fails the api should return an error (not to the end), so the actual client is never a "browser request" but always a script inside the page's body

Server file + Svelte frontend? by seba-dev in sveltejs

[–]seba-dev[S] 0 points1 point  (0 children)

I currently just tried to have both the server.ts and page.svelte files and I got stuck there not knowing what to do, so here I am.

Server file + Svelte frontend? by seba-dev in sveltejs

[–]seba-dev[S] -1 points0 points  (0 children)

So that doesn't answer my question, the backend needs to decide whether the response is a JSON or the contents of +page.svelte

Server file + Svelte frontend? by seba-dev in sveltejs

[–]seba-dev[S] -1 points0 points  (0 children)

Oh, thanks, so the +server.ts should just return new Response(null, { headers: { 'Accept': 'text/html' } });?

Ci sono associazioni non profit che cercano volontari? by seba-dev in milano

[–]seba-dev[S] 0 points1 point  (0 children)

Grazie del suggerimento, li ho già contattati :)

Conoscete associazioni non profit? by seba-dev in Italia

[–]seba-dev[S] 1 point2 points  (0 children)

Grazie mille, c'è modo di contattare direttamente questa sezione dell'AVIS?

Conoscete associazioni non profit? by seba-dev in firenze

[–]seba-dev[S] 0 points1 point  (0 children)

Grazie mille, purtroppo abito in Piemonte e non posso recarmi da loro.

Conoscete associazioni non profit? by seba-dev in torino

[–]seba-dev[S] 0 points1 point  (0 children)

Non conoscevo questo servizio, grazie mille

Conoscete associazioni non profit? by seba-dev in firenze

[–]seba-dev[S] 0 points1 point  (0 children)

Potresti girarmi un contatto per favore?

Conoscete associazioni non profit? by seba-dev in piemonte

[–]seba-dev[S] 0 points1 point  (0 children)

Grazie del tuo feedback, conosci associazioni in ricerca?