It isn't a requirement to use Angular either, although there are some strong reasons to consider doing so. I'd guess the author of this article probably wouldn't benefit much on small for-fun projects but as a project and team grow larger, static analysis tools like Flow/TypeScript/Closure can be really useful.
that's like saying jsx is not a requirement for react.
yes, you can use angular 2 without typescript, but most of devs will use typescript over javascript?
but as a project and team grow larger, static analysis tools like Flow/TypeScript/Closure can be really useful.
no doubt. but that's a trade-off between barrier of entry vs power. ideally we would want lower entry barrier with more power. but entry barrier increases with power.
Vue is a library, hence, choses lower entry barrier while angular is a framework, hence choses more power.
JSX is just syntactic sugar. It's definitely not a requirement. Your project is probably easier to read if you use it though. So I guess static analysis and JSX are related in that they both help with maintainability.
The only additional barrier to entry for JSX is that you'll need a build tool in your pipeline to convert it to JavaScript- same with TypeScript. Neither adds that much complexity, and since TypeScript (like Flow and Closure - and JSX for that matter) interops with vanilla JS, you can gradually wade into it if you choose.
Maybe OP sees it as kind of a "straw that broke the camel's back" sort of thing.
1
u/brianvaughn Apr 05 '16
It isn't a requirement to use Angular either, although there are some strong reasons to consider doing so. I'd guess the author of this article probably wouldn't benefit much on small for-fun projects but as a project and team grow larger, static analysis tools like Flow/TypeScript/Closure can be really useful.