Why Learning Angular 2 Was Excruciating
hackernoon.com
Why Learning Angular 2 Was Excruciating
1–10 of 226 posts
Re: Why Learning Angular 2 Was Excruciating
#2Re: Why Learning Angular 2 Was Excruciating
#3I am using deprecated libraries at work. I just recently upgraded to React Router v2 when they are already gearing up for v3 (and refactoring for v4). It's just part of how the ecosystem works. We are lucky that a side effect of its business is the abundance of useful libraries.
Re: Why Learning Angular 2 Was Excruciating
#4I sometimes tend to try out beta releases when learning something new and interesting, but that does tend to backfire now and then when it's unstable enough that I can't tell if I'm doing something wrong, the framework is buggy or the documentation is simply outdated.
Re: Why Learning Angular 2 Was Excruciating
#5I, too, would probably have a bad time if I was trying to learn a framework as it was being built.
And that isn't just the case for frameworks, it extends to tooling as well. JS is a mess - one that I am involved in first hand - and it's hard to find stable footing.
Re: Why Learning Angular 2 Was Excruciating
#6Re: Why Learning Angular 2 Was Excruciating
#7...except for Zone.js errors. Everytime I saw a zone.js error in the call stack my brain perceived it as a giant middle finger rendered in ASCII in my console.
Re: Why Learning Angular 2 Was Excruciating
#8I, too, would probably have a bad time if I was trying to learn a framework as it was being built.
That's sort of the problem that the article was addressing. By the time things have been built, they are old news to the JS community - or at least those that you see on HN, Medium, blogs, etc. If you mention learning Angular 1 anywhere you get shouted at that it's old and should not be used and to instead look at Angular 2 and React. By the time those are established, it'll be on to something else. And that isn't ju…
I think a big portion of pain is around the sheer depth of the dependency trees we wind up in npm/js land these days - a trivial little service can wind up with hundreds of disparately maintained dependencies, and you just have to shrinkwrap, hope, and cross your fingers things work out.
Re: Why Learning Angular 2 Was Excruciating
#9Re: Why Learning Angular 2 Was Excruciating
#10Honestly, upgrading npm modules is never fun. This person is trying to learn the language at the same time -- you just can't expect that to work. You want to shrinkwrap / freeze your dependencies as soon as you can, and upgrade when it's clear that you are missing out and the effort to upgrade is worth the work that it takes to update. I am using deprecated libraries at work. I just recently upgraded to React Router…