Frameworks like React and Vue allow me to define the UI as a function of state in a declarative way. The language happens to be JS. Please tell me how this can be done in vanilla JS without writing my own framework. I don't think it's possible. In my opinion they are not comparable, they both serve different goals.
Re:Four Eras of JavaScript Frameworks
by TrickardRixx on Wednesday April 27, 2022 @09:33AM
(#31179650)
Thank you for the clarification. I definitely agree with you. Unfortunately for me, I still dislike using the declarative frameworks that happen to be in JS.
[0] https://htmx.org/