lessons/svelte-v3-overview-firebase/
Svelte Realtime Todo List with Firebase
Build a realtime ToDo list with Svelte 3 and Firebase (RxFire)
Very cool tutorial. I have been a long-time fan of ~~Angular Firebase~~ Fireship.io. This is the first time I am using a tutorial though. Great job with the tutorial and amazing website. I just wish there was a like button.
Hi, it's a great tutorial, so far everything works for me, except for one thing, and I'm not sure what i'm doing wrong. It seems that the const todos = collectionData(query, 'id').pipe(startWith([])) doesn't actually return any document ID, as it probably does in your example. If I loop over every single property inside todos, I only get the 4 properties that exist on each document - text, created, complete, uid. No document ID tho.
My guess is that something's changed with the internals of Firebase or Svelte since this tutorial had been created, but it's very likely i just copied the code poorly.
The added tasks are not showing up for me - once I click "add task", the database is getting populated correctly but the DOM is not updating. Is anyone else having the same issue? Great tutorial though!