Actually, I find the DOM surprisingly structured for reading and manipulation. This button have one or more events? No problem! Want to see the code in that event, no problem. The DOM is the truth, and you are free to read, understand and modify it as you like.
What is a problem though, is that there is no consensus in the team about how the code should be structured. So everyone creates their own mess.
Oh state management? There is something called observer pattern for that.
What is a problem though, is that there is no consensus in the team about how the code should be structured. So everyone creates their own mess.
Oh state management? There is something called observer pattern for that.