|
|
|
|
|
by strogonoff
702 days ago
|
|
Modals are generally involved in a full-blown Web app. For an average post or article, you don’t need node handles, pure declarative HTML is enough. At the same time, implementing a full-blown app imperatively directly with createElement would result in an unmaintainable mess. In other words, there seem to be very few use cases where such approach is justified. |
|
It goes without saying...
> At the same time, implementing a full-blown app imperatively directly with createElement would result in an unmaintainable mess
I disagree, and I've built non-trivial UIs with createElement; a key is to have the discipline to keep the "components" well-isolated.