Earlier quoted context omitted.
This is not accurate. You don't need to learn Redux or WebPack to use React. With Angular you also need a build process so you can use gulp or WebPack. Maybe there's a pre baked process but you still need to know some build tool. Because React doesn't care about how you manage your state, you can use Redux or other solutions. Not because they are cool , but because it fits your needs.
I think the overall point that you have to fill in the gaps yourself still stands, though. Angular just comes with way more features than React does, so if you want an equivalent experience, you have to use third-party libraries with React, which increases the amount of things you have to learn. Not that this is entirely a bad thing, but you can't really compare bare React to bare Angular and say they're equivalent.
Angular 2 Fundamentals Course
101–110 of 120 posts
Re: Angular 2 Fundamentals Course
#102Earlier quoted context omitted.
This is not accurate. You don't need to learn Redux or WebPack to use React. With Angular you also need a build process so you can use gulp or WebPack. Maybe there's a pre baked process but you still need to know some build tool. Because React doesn't care about how you manage your state, you can use Redux or other solutions. Not because they are cool , but because it fits your needs.
Why does Angular need a build process? You can just point script tags at a fat angular.js file, or a CDN, and go on your merry way. Sure it's not like the 10x dev way to do it, but I do it for simple apps all the time.
Re: Angular 2 Fundamentals Course
#103Earlier quoted context omitted.
You don't need all that to create SPA app. it's bloated framework.
I wonder where the happy medium is. Setting up React/Redux/React-redux/react-router/react-redux-router/react-redux-router-thunk/webpack-hot-module-oh-my-god-what-am-i-doing takes forever.
npm install -g create-react-app && create-react-app hello-world
Re: Angular 2 Fundamentals Course
#104Earlier quoted context omitted.
I think the overall point that you have to fill in the gaps yourself still stands, though. Angular just comes with way more features than React does, so if you want an equivalent experience, you have to use third-party libraries with React, which increases the amount of things you have to learn. Not that this is entirely a bad thing, but you can't really compare bare React to bare Angular and say they're equivalent.
Not sure if your point about the amount of things to learn is true. I prefer learning small utilities and compose them. The cognitive load is much more smaller (for me) than having to learn a giant monolith. I guess it's a matter of preference.
Re: Angular 2 Fundamentals Course
#105Earlier quoted context omitted.
If an alternative is not named, does that change the value of the opinion in any way?
I was just wondering what the author had in mind. But now that you ask, yes I think it does. Without a suggestion the opinion is pretty much worthless.
Re: Angular 2 Fundamentals Course
#106Earlier quoted context omitted.
Er.. https://github.com/angular/angular-cli 1. Open terminal 2. > npm install -g angular-cli > ng new app > ng serve 4. Use the cli tool to generate components/pipes/services/etc., build, test, develop 5. Profit. Find a more blissful and joyful experience than this in react land?
Well, react did come up with this https://facebook.github.io/react/blog/2016/07/22/create-apps... recently. Also, one thing that is not enjoyable/straightforward with(angular-cli) is having to utilize System.js in order to include 3rd party libraries in your app.
Re: Angular 2 Fundamentals Course
#107Earlier quoted context omitted.
You don't need all of that from scratch. You can just build React components, and when it comes time to add a store or a router the only thing you need to change are the glue components that bind things together. I think it works out nicely -- the dev process is as composable as the app itself.
Is that really an argument? that you don't need to write it at the beginning ? you still have to do it...
Re: Angular 2 Fundamentals Course
#108Interesting coincidence. This week I've been tasked with looking into a JavaScript framework to replace our pure-Clojure stack at work. One of the front-end candidates is Angular. But we're considering cutting it from the race. The three main things we're looking for in a front-end framework: 1. Longevity: we don't want to adopt yet another fad framework that we'll have to replace in 2017. The current trend looks to…
> Longevity: we don't want to adopt yet another fad framework that we'll have to replace in 2017. No such thing. They're all pretty much fad frameworks.
CanJS, the MVVM part of DoneJS, is currently coming up to its third major/breaking version. I think that’s a pretty good track record for us/Bitovi.
Re: Angular 2 Fundamentals Course
#109Earlier quoted context omitted.
sails + vuejs + postgresql will be my choice.
Take a look at Feathers js, so much better than Sails
Re: Angular 2 Fundamentals Course
#110I heard angular is a framework and react is lib. angular 2 or react. Coming from nodejs, python, php, jquery experience which should I learn?
Having used and studied both React and Angular2, Angular2 can do certain things that React can't. Two features at the forefront of this difference are: 1) Dependency injection 2) Direct support for using observables and promises in templates However, I cannot think of anything major in the reverse direction. There is also the fact that it is designed to be used with Typescript from the get-go, which can be a plus if…
React decouple data and view. You can achieve similar behaviour but using flux/redux to publish/subscribe.