Skip to content

Saeeed-B/Corrupted-data-in-SSR-and-fast-rendering

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Corrupted-data-in-SSR-and-fast-rendering

image

First of all, I have to thank those who try to solve my problem

In fact, my problem is that, in the subscription system, a document appears that does not exist in the database at all.

And further examination, we see that this document, which does not exist in the database and we share, is actually a copy of one of the documents registered in the database. Except that this fake document does not have a _id field.

As shown in the image below:

image

In this repository, I have given a very simple example, in which there is a title field that is inserted into the collection. And I simply published and subscribed to the items. The rendering server is also implemented in the startup file

Note, it may not be a problem to insert the first item -to collection-, but after inserting a few items and refreshing - F5 - , the problem is clearly visible.

I also discussed this issue in detail in the forum, at the following address:

why-subscribe-to-something-that-is-not-in-the-database

Package list used :

I am happy with any comments, suggestions, or reviews . Please state in the issues section

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published