Re:Ask HN: Most interesting tech you built for just yourself?
by hohg on Friday April 28, 2023 @04:46PM
(#35746914)
@dang regarding pagination
[ Parent
| on HN ]
Re:Ask HN: Most interesting tech you built for just yourself?
by davesque on Saturday April 29, 2023 @08:53PM
(#35758742)
Some people appreciate being able to choose whether or not to continue browsing. Infinite scroll is not objectively better.
Re:Ask HN: Most interesting tech you built for just yourself?
by squintychino on Wednesday May 10, 2023 @10:45AM
(#35888154)
Lots of websites have the option to toggle pagination on/off for those that do find it objectively better.
Re:Ask HN: Most interesting tech you built for just yourself?
by mdaniel on Saturday April 29, 2023 @10:56PM
(#35759338)
> div.innerHTML = xhr.responseText;
Did you test this? Because CORS aside, that sure does look like it will append the whole of page 2 to the body of page 1 and get progressively worse as one reaches the pagination of page 2. It would be more code (and memory pressure) but I believe the correct impl of any such trickery would be to reach into the actual table of page 2 and jam that into the body of page 1