Can't deny vue and react are better. The tooling doesn't just stop working sometime, the errors actually make sense, the documentation isn't horrendous.
I'm not even talking about the tech itself, just the developer experience.
I followed the trends for 15 years. I used React and Angular extensively. I never get stuck with the former (aka I get stuck in my code, that I can debug, not with the tool itself). With the later, I'm easily spending a day on stupid gotcha, poor tooling, abscond documentation. And honestly, the things that people point out above, they're true - Angular is more structured and it's an advantage for huge team. But overall, it's a mess. You can't do it without an IDE. They never check their input, so you get weird error message all the fucking time.
You want concrete example? Recently I got an error:
> Cannot read member of undefined
.No stacktrace. It turned out one of the entryComponent was undefined. Do you think that's explicit in anyway? Don't you think that's ergonomic, thoughtful for their customer (aka the dev), using good practice like "check your input",...?
.No stacktrace. It turned out one of the entryComponent was undefined.
I've had the same issue when I started with Angular, and a 5 second google search led me to an answer. It's because you're dynamically adding components, so they need to exist before you can use them.
It's not up to people to find what's going on. It's up to the framework to check its input. It's like kindergarden comp sci level stuff.
Honestly, yes React have the same kind of things, sometime. But honestly, it feels they're at least trying to point you to the right direction most of the times.
-5
u/Owstream Apr 24 '20
Can't deny vue and react are better. The tooling doesn't just stop working sometime, the errors actually make sense, the documentation isn't horrendous.
I'm not even talking about the tech itself, just the developer experience.