DEV Community

Discussion on: How to Build a Todo app with Svelte!

Collapse
 
cjsmocjsmo profile image
Charlie J Smotherman

Are your todo' lost when you close the app or do they persist until you open the app again?

Collapse
 
avneesh0612 profile image
Avneesh Agarwal

Yeah, I haven't implemented localstorage in this one :)

Collapse
 
cjsmocjsmo profile image
Charlie J Smotherman

If I remember correctly (and I dont always do) the stock demo app you get when you

npm init svelte@next

Has a persistent todo list example you may want to take some inspiration from.

Looks good other wise

Happy coding

Thread Thread
 
avneesh0612 profile image
Avneesh Agarwal

Um, I didn't know you can generate like that and I know how to add that feature but wanted to keep this tutorial simple. Thanks for understanding :)

Thread Thread
 
cjsmocjsmo profile image
Charlie J Smotherman

👍