kun-galgame-nuxt3 icon indicating copy to clipboard operation
kun-galgame-nuxt3 copied to clipboard

Duplicate Loading of Home Page Topics

Open KUN1007 opened this issue 1 year ago • 0 comments

This is a minor issue that can be ignored because the error rate is not high. If the number of forum visitors increases in the future, certain measures will be taken.

Explanation:

The topics on the homepage are sorted based on the update time, where actions like liking or visiting a topic are considered updates.

During the process of loading new topics while scrolling down the page, the timestamp changes. If someone updates the status of a topic during this timeframe, it alters the overall sorting of topics.

So, if pagination is performed on this updated topic, the pagination result will be in the order of the latest timestamped topics. This can lead to the last few topics from the previous pagination being requested again, resulting in the rendering of duplicated topics.

KUN1007 avatar Feb 16 '24 15:02 KUN1007