Dom (Plugin) vs Virtual Dom / Shadow Dom (Modern Frameworks)
Plugin | Shadow Dom/Virtual DOM |
---|---|
 |  |
Purist Language called Javascript | Opinionated Framework like Angular |
Exercise | Exercise |
Data and State Management | Â |
Dependency on Plugin Data and Contract a) Data is assumed(at least initially) to be coming from external source like server | Â a) Assumptions on Layouts gets precooked inside the application |
Ideal for Projects of small scale and limited scope | Ideal for projects @ scale (Not Consumption Scale Please!) |
We can end up writing our own Framework if we constantly maintain the code with all standards. | We are just a users of framework to satisfy business needs. |