python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
onMount is being called twice
I have a layout page and each component inherits from it. My problem is onMount function is being called twice for each component. It makes many issues because my onMount function contains calls to AP...
PAV
Votes: 0
Answers: 1
Persisting Svelte stores to localStorage
I have an app that uses Svelte (SSR with Astro), and I'm trying to persist my data to localStorage.
There just isn't enough documentation about this IMO, since I seem to be running into brick walls co...
endymion1818
Votes: 0
Answers: 2
How to not trigger svelte store subscription if the value was not changed
I'm trying to figure out how to work with Svelte stores properly.
In my code I have a store that it's initial value is either come from localStore if set or from const, I never called set or update on...
Avishay28
Votes: 0
Answers: 3
How to use SSR with Stores on SvelteKit
I am new to sveltekit and svelte in general, and I am trying to load data from an API to the stores, here is how I am doing it
export const load = async ({ fetch }) => {
const data = ge...
Marik Ishtar
Votes: 0
Answers: 1