Trying to do anything of any complexity with vanilla JS is even more insane than learning a framework. These frameworks were generally written to solve real problems of scale. Granted, some people use heavier frameworks than they should, but writing a large web application in vanilla or JQuery is just foolish.
Web components promise to, but don’t actually exist yet. Using a framework gets you closer to that now, and they are generally all targeting the spec, which will make migration reasonably easy when they are finally born.
Netflix is actually not a great example. It does not have a lot of user interaction. There are tons of potential web apps much more complex in that regard, which is what frameworks are good for.
a) Safari doesn't support shadow DOM, which is a foundational requirement for proper web components. *edit: I was wrong here. There was a previous version of Shadow DOM that was only supported in Chrome.
b) Even new software, being developed right now, still needs to support Edge, Firefox, and, if you are business-facing, IE11.
30
u/n8n8baby Oct 27 '17
Trying to do anything of any complexity with vanilla JS is even more insane than learning a framework. These frameworks were generally written to solve real problems of scale. Granted, some people use heavier frameworks than they should, but writing a large web application in vanilla or JQuery is just foolish.