3 ms·
I strongly disagree after writing JS full time, and as a hobby, for 15 years. Normally when people argue against vanilla JS it’s because they never learned to w
by austin-cheney 2y ago
I strongly disagree after writing JS full time, and as a hobby, for 15 years. Normally when people argue against vanilla JS it’s because they never learned to write original applications (in any language), or if they are in management it’s just more expedient to churn through employees than train them to program.
Either way the OP has to both learn and deliver a product in a short time frame. It just makes more sense to cut out all the unnecessary bullshit developers use to compensate with.
- solardev 2y agoIMO neither one is necessarily better; they're just different levels of abstraction. React lets you think and work in components more easily. Vanilla has a much closer to the metal events and interactivity model. I think it's way quicker to put out a MVP with a good UI framework (something like MUI or Chakra or Ant) than to spend a lot of time building up primitives from scratch. It's like the difference between writing Visual Basic and C++ or whatever. Different use cases. Without knowing what the OP is actually trying to build, it's hard to say what's more suitable. I wouldn't necessarily default to vanilla OR React. It really just depends.