DEV Community

Discussion on: Stop Building Your UI Components like this❌

Collapse
 
harshkc profile image
Harsh Choudhary • Edited

Woah! You need to calm down, no one is stopping anyone to choose whatever tech stack they want to build good stuffs. The modal was just a demonstrated example to make people aware of the mistakes they are making in React.
You want to use plain JS use it, React came into existence because of the maintainability problems in vanilla JS. I agree forms/modal should not be this complex but handling DOM is also complex, React makes it easy. We have to live with the trade-off.
Good news is frameworks like Remix built on top of react is making things happen like the good old way. So yeah in the future we will get best of the both world.