DEV Community

Discussion on: React v/s Vanilla JS - When to use what?

Collapse
 
weedshaker profile image
Info Comment hidden by post author - thread only visible in this permalink
weedshaker

Okay article and fairly you are not bashing VanillaJS too much.

BUT:

"VanillaJS is a lightweight cross-platform framework" -> FALSE. The browser and its JavaScript Engine is a Runtime. VanillaJS is just JavaScript and the framework like features you mention are the Web API and DOM. All that lies below extra code eg. React, Angular, VueJS

FURTHER:

By the outdated nature of your statements, you clearly have not used no Framework for writing a bigger application. And even before Web Components most of your Cons of VanillaJS are simply false. You could create Components with ES5, no PROBLEM. Anyways, I invite you to look at and maybe even participate in github.com/Weedshaker/event-driven... or there is a not Event Driven but already complete VanillaJS Conduit example: github.com/gothinkster/web-compone... .

Some comments have been hidden by the post's author - find out more