The state managements inside the Svelte web app it's poor, we need a better state management to reduce the number of requests each time we navigate to a new page.
One big improvement would be to use navigate function from svelte-navigator instead of location.href which will not reload the page leading to losing the states and having to fetch them again each time we navigate through the pages
The state managements inside the Svelte web app it's poor, we need a better state management to reduce the number of requests each time we navigate to a new page. One big improvement would be to use
navigate
function fromsvelte-navigator
instead oflocation.href
which will not reload the page leading to losing the states and having to fetch them again each time we navigate through the pages