4 ms·
This problem was re-introduced by various of shitty SPA practices. It's a solved problem in the good o' days with simple HTML forms.
by est 3y ago
This problem was re-introduced by various of shitty SPA practices.
It's a solved problem in the good o' days with simple HTML forms.
- pcthrowaway 3y ago> It's a solved problem in the good o' days with simple HTML forms. Not completely. Here on HN (which is not a SPA) if I upvote someones comment while I'm responding to it, I lose my response. Now I know I can hit the back button and recover it (in Chrome on OSX at least), but I imagine a lot of people don't
- oefrha 3y ago> Here on HN (which is not a SPA) if I upvote someones comment while I'm responding to it, I lose my response. That only happens if you disable JavaScript and voting has to be done through an href navigation. Otherwise HN constructs an Image with the voting URL as src, so there's no navigation and you don't lose anything.
- extraduder_ire 3y agoIt does lose it for me if I click on the reply link[0] and start typing. It works just as you say if I'm on the post itself[1] by clicking on the timestamp, and typing in the pre-existing reply box. [0]: https://news.ycombinator.com/reply?id=37400631&goto=item%3Fid%3D37400277%2337400631 https://news.ycombinator.com/reply?id=37400631&goto=item%3Fi... [1]: https://news.ycombinator.com/item?id=37400631 https://news.ycombinator.com/item?id=37400631