Re:Ask HN: When did comments start being split across pages?
by jasonkostempski on Wednesday March 08, 2017 @11:39AM
(#13821366)
That would require javascript, don't they try to avoid that?
[ Parent
| on HN ]
Re:Ask HN: When did comments start being split across pages?
by Raphmedia on Wednesday March 08, 2017 @11:55AM
(#13821495)
Simply make it so that when JS isn't being used by the link acts normally.
You have two option with the web. Either you put your logic in the backend or in the frontend.
This addition is obliviously to reduce the load on the server. So either you add some logic on the frontend to make the user experience good or you do like they do right now and have a bad user experience.
Re:Ask HN: When did comments start being split across pages?
by chatmasta on Wednesday March 08, 2017 @11:46AM
(#13821425)
No JS needed. You can do this with CSS using the target selector and display:none. But that would require loading all comments up front which is maybe what they're trying to avoid?
Re:Ask HN: When did comments start being split across pages?
by dustinhayes on Wednesday March 08, 2017 @12:18PM
(#13821676)
Not really, you could just load the same page with something like ?comments=all from the server.
Re:Ask HN: When did comments start being split across pages?
by jasonkostempski on Friday March 10, 2017 @01:58PM
(#13841045)
That seems better actually, considering "more" doesn't really make sense when the things you've already gotten may have shifted in the mean time.