dylano / tw-reader

A Twitter client inspired by Google Reader
MIT License
1 stars 1 forks source link

`Get new tweets` action sometimes returns partial data #111

Open dylano opened 2 years ago

dylano commented 2 years ago

This is an issue with both the React and the EJS clients. Fetching new tweets sometimes returns with only a subset of the new data, e.g. there are 20 new tweets to fetch but when the page/component reloads, only 10 of them are shown. Doing a hard refresh of the page will show all of the new data.

Feels like somewhere we're not awaiting properly before sending the response from the update request.

dylano commented 2 years ago

On the React side this seems to have gotten 90% better after f6eae1e9a0eb803d6c4f0795b582569c5737cb5b.