|
|
|
|
|
by tambourine_man
1115 days ago
|
|
I don’t think direct DOM manipulation was ever a problem, if done thoughtfully. If keeping track of state is so hard that requires a library to render it, perhaps you have too much state for a single view. It’s ultimately a UI/UX design problem, as it will be hard on your users as well. I find the way they mix markup with code distasteful, and lots more. |
|
Then you've never worked on a medium/large UI application (1k+ LOC), and most certainly couldn't have lived through the era of DOM manipulation!
jQuery when it first arrived was a god-send! but even the most thoughtful couldn't structure it right.
Backbone when it first arrived was a god-send! but even the most thoughtful couldn't structure it right.
React when it first arrived was a god-send! but even the most thoughtful still can't always structure it right.
With, the inclusion of so many other failed and semi-successful attempts throughout history I have no idea how you can possible claim:
> I don’t think direct DOM manipulation was ever a problem, if done thoughtfully.
without just being naive...