futurice / symptomradar

Symptomradar (Oiretutka) crowdsources coronavirus symptoms from news media audience
MIT License
25 stars 2 forks source link

Load more content on scroll #289

Closed Doniee closed 4 years ago

Doniee commented 4 years ago

Implementing infinity scroll for the TableView (listing all city data). More data is loaded when the end of the page (on oiretutka.fi) or the container (in the embed version) is reached. The tables were moved to a separate component CityTables, where all loading and list filtering happens.

The update was done because loading the whole city list inside an article embed was a bit too much on slow connections and devices with low memory (or at least on my Android phone it made the whole app crash).