svelte multiple api calls with subsequent click on a button?
It seems that when using electron api each individual press of a button calls the api function x+1 times where x is the times you've pressed the button prior.
7 Replies
Main.js
preload.js
+page.svelte
as you can see i get path 1 time first time around
and +1 each time i press the button
@MartynasXS you're probably better off asking this in the svelte discord
probably
Yeah, the support in there is a lot better
seemingly shower thoughts gave me the answer
or wait i can just change it to once
not on