AlexxNB / tinro

Highly declarative, tiny, dependency free router for Svelte's web applications.
MIT License
669 stars 30 forks source link

presist on refresh #68

Closed davemcdavid closed 3 years ago

davemcdavid commented 3 years ago

Using the example provided

https://svelte.dev/repl/5673ff403af14411b0cd1785be3d996f?version=3.38.2

how do I remember that I am logged in if I refresh the browser as is, it's asking me to log in again, any advice?

AlexxNB commented 3 years ago

It is just simplified example. You should implement you own authorization via tokens, cookie or any other way you want.