10 ms·
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
by strogonoff 2y 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.
- mbivert 2y ago> For an average post or article, you don’t need node handles 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.