fireship.io icon indicating copy to clipboard operation
fireship.io copied to clipboard

lessons/svelte-v3-overview-firebase/

Open utterances-bot opened this issue 3 years ago • 3 comments

Svelte Realtime Todo List with Firebase

Build a realtime ToDo list with Svelte 3 and Firebase (RxFire)

https://fireship.io/lessons/svelte-v3-overview-firebase/

utterances-bot avatar Jul 03 '22 04:07 utterances-bot

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.

chinmaykh avatar Sep 03 '22 11:09 chinmaykh

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.

quatricise avatar Sep 11 '22 14:09 quatricise

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!

binita-g avatar Sep 27 '22 23:09 binita-g