4 ms·
I think it is out of question that a framework shields you from some complexity. That's the purpose of it. Nevertheless, if you ignore the code complexity, i a
by buster 11y ago
I think it is out of question that a framework shields you from some complexity. That's the purpose of it.
Nevertheless, if you ignore the code complexity, i am fairly certain you can write JS code to update something without needing to traverse the whole DOM each time. I don't program JS, but wouldn't you have some variable holding the reference to the place you want to update? Like you have a DOM element that will be updated every second, you would surely not search the whole DOM every second, but get it once and udpate it multiple times? No?