Hacker News new | past | comments | ask | show | jobs | submit login

> so I guess someone figured it was easier to throw away the page state every click than to remove an element from the list's DOM.

Yet another reason to love what React and other virtual dom libs give us




Can we leave the toolkit evangelism to a different thread? The subject is behavior which was routinely implemented better in the mid-90s without using JavaScript at all.


Please take a chill pill mate. I'm just a happy user of that, as I am of many many other free software others have cooked up.


I agree with the first part of your statement, but I am curious how AJAX behavior was implemented without JavaScript? Are you talking about Java? CGI? I have no idea.


Sorry if that was confusing, I wasn't trying to say AJAX-like behaviour happened without JavaScript but simply echoing mintplant's concluding observation that a 1995-style <table> with a bunch of checkboxes and a remove button would work just as well as the fancier tech stack.

(That said, I'm certainly not saying that JavaScript doesn't allow much richer UIs, only that as an industry we're often prone to assuming that the cooler tech automatically implies benefits to users – e.g. ask anyone who's had to reload a simple form UI because the AJAX logic failed to handle network / server errors, out of order dispatch, etc. in a non-confusing manner – or everyone should love your favorite tool without asking whether it has actual benefits for what they need to do.)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: