I just read the Firebase blog post titled Denormalizing Your Data Is Normal, and I have request for clarification.
I was with it until the Considerations paragraph. Specifically, the following:
"Modification of comments is easy: just set the value of the comment under /comments to the new content. For deletion, simply delete the comment from /comments — and whenever you come across a comment ID elsewhere in your code that doesn’t exist in /comments, you can assume it was deleted and proceed normally"
For modifications, why don't I have to modify the duplicate comments stored under /links and /users?
For deletions, am I correct in my understanding that once I delete a comment I have to have logic in all my read logic to cross-check /comments in case it was deleted?
Thanks!