Choosing the Right JavaScript Framework

Thanks for joining me @pluralsight to talk about javascript frameworks. We had 150+ awesome questions, so I'll try to answer the ones I couldn't get to online right here in a tweet stream

Watch the video -->

Q. Do arrow functions really make dealing with JavaScript's "this" keywords easier?

A. Yes! When using arrow functions, the scope of "this" is effectively passed in from the outer scope. See here in this REPL

Q. Where does Polymer fit in? Is it considered a framework like the others?

A. @Polymer is an excellent way to create web components, which are ideal for creating sets of interactivity that can be shared in web apps.

Q. Have we gone framework crazy?

A. At one time, quite possibly. A few years back we literally had framework overload. I feel it really has solidified into a few very strong choices.

Q. [Is] there no more need for @polymer?

A. See my previous question on this ... but in general, I think there is a lot of room for Web Components with frameworks.

Q. What about Material Design?

A. Great for UI constructs, themes, styling, and experience.

Q. What is your favorite language and why is it TypeScript?

A. Ha! My favorite language is JavaScript. I love the ease of jumping in, the flexibility, & how it works in all major browsers. @typescriptlang is awesome too. with it we get great tooling in editors like VS @code

Q. Assume prior knowledge and experience is equal between the frameworks, what would you recommend for rapid prototyping - priority is to get a working prototype fast?

A. The CLI's for @vuejs @reactjs & @angular means all of them. Pure coding for a PoC in a few hours? Vue.

Q. if observables become accepted in the JavaScript ecosystem, then the third-party library (RxJS) -- for using observables in Angular -- will become unnecessary. And so one needs to refactor.

A. not a question, but true that the space is evolving. And that is good!

Q. what would be a good strategy to move from angular 1.5 to react?

A. If you need to move (that's question 1) then it would be good to go to any of @vuejs @angular or @reactjs

Q. what about javascript for native mobile development?

A. I love PWAs. I look to those first. If an app is needed, then I look to @Ionicframework as it's very web focused and can create great apps. When all else fails I move to native.

Q. is your favorite pizza Papa Johns?

A. No. Not even close.

Q. If I need to produce a native mobile app, what are my options between the big-three frameworks?

A. Check out PWAs first. Then look into tools like @Ionicframework , @NativeScript or @reactnative

Q. Can you predict one that will become easier to learn/maintain. Vue seems light but I get a feeling that it will be problematic in a larger app? Angular seems to be problematic with updates. I have not tried React.

A. Easy is relative. They are all excellent. Try them.

Q. How fast should be considered fast?

A. Ask your stakeholders what their requirements are. Some apps can lose money if they are over a threshold. Some apps are ok with longer loads. While the solution may be technical, the experience holds the answer.

Q. I've got an MVC 5 app into which I'd like to integrate a JS framework. Is this not recommended?

A. I use @nodejs, but when i do use i use it for web api only, and the framework for views.

Q. Which framework is best to learn? Which framework is in demand for IT software jobs?

A. Spend a few days trying all 3. Cap each at a day. Then compare the experience that suits you. I see more jobs for React and Angular now, but Vue seems on the rise

Q. Which is the framework you have seen has grown at the fastest path?

A. Charts in my video show various answers. Angular paved the way & solidified a large field. React & Vue have risen strong and fast to join it. I'm not sure I would care about the fastest riser tho.

Q. how do we consider support? For most of the enterprises, they look for how the tool/framework is supported

A. Great question. The community support & resources are hugely important. Good news is that all 3 have a lot to offer here. It's a key reason they all rock.

Q. If a team has done traditional c#, and hates js with a burning passion, which of these would be the best new place to start?

A. Angular. TypeScript will look very familiar to C# devs, and Angular is excellent with TypeScript. However, Vue works very well in TS now too!

Q. Is any particular framework better for those people who don't do java script yet??

A. Hmmm, great questions. I first recommend learning javascript and the sliding into a framework. Vue can be a great first step (drop a script tag in a page and go)

Q. How much complexity is added when using React because of it not being a full framework like Angular?

A. Entirely up to you as the developer. With any of these frameworks, you can pull in more complexity as needed. They just have a different way to solve problems.

Q. Why is google keeping two frameworks? I love polymer but I tend to question what is its future having angular at the house too

A. I cannot speak for them, but Google is a big company, and I feel these tools (while have some overlap) solve different problems.

Q. How do you think Aurelia compares to the big three?

A. Technically, it feels solid. I don;t see as much usage and other data to support that it's anywhere near widespread as the other 3.

Q. React, Angular, and Vue. Which Star Wars characters best represent each framework?

A. Best question yet! Totally off my head ...

Vue 👉 Darth Vader
React 👉 Darth Maul
Angular 👉 Padmé Amidala

Q. Is Microsoft developing any framework?

A. Not that I am aware of. Why? Do these 3 lack for something you need?

Q. Meteor?

A. Comet. Asteroid. Shooting star. Oh ... you mean the framework! (I joke). Very cool, but I stick to the 3 I mentioned.

Q. What advice would you give a college student to familiarize themselves w/ the variety of js frameworks to prepare themselves for real world problems & projects they would come in counter within the workplace?

A. Try each for a day, build a proof of concept, then compare

Q. What is PWA?

A. Thanks for asking! You get points for calling me out on not explaining it earlier! Progressive Web App.

Q. I started using JavaScript to build PWA's without using any frameworks, assuming you are going to give me advice, what do you recommend for me to jump into just only one JS framework?

A. Try all 3 for a day each. Then see which feels best to you.

Q. Are any of these frameworks better suited toward integrating into an existing app?

A. Assuming we have an app not written in one of these now, then I feel Vue may be easiest to slide a small piece of code into it. Angular elements too.

Q. If I am completely new to Angular, should I start with Angular 2 or is Angular 1 a prerequisite?

A. Welcome to the community! Go right to Angular (v6 is the latest). The docs are awesome at getting going.

Q. What would you recommend to do to gain confidence with any framework now a days?

A. Try each for a day, then compare your experience. Then build something awesome! Lean on the community and resources, someone has done it before

Q. In your view, Is it true that those familiar with C#/.Net will find it easier to pick up Angular than the other frameworks?

A. Only in the sense that @typescriptlang will be familiar. i think @angular and @vuejs work great with it.

Q. Do all 3 frameworks handle responsive design?

A. CSS all the way. So yes, but it's really CSS

Q. Do all these framework have good/built-in support to write test cases against the code?

A. They all support testing well.

Q. How do you see PWAs affecting these javascript frameworks in the near future?

A. It already is affecting them. They all have options for creating PWAs from their CLIs. I see this only becoming more prevalent.

Q. With all these options for js frameworks what is the best use case for using vanilla javascript.

A. If you mean ES5 ... Vue. If you mean modern standard ES 2017+, all of them. Classs, decorators, arrow functions ... all there.

Q. John, what do you think Knockout?

A. I like @knockout_js . I built a lot of apps with it, and it's excellent at handling the views and bindings. I prefer the 3 I mentioned for full apps these days.

Q. Hearing the NodeJs 's performance is better Than java now.

A. Sigh ... lots of great places to check out data on this. Me? The perf on these for 99% of the apps I see is fine in either of them.

Q. What is the strategy to go from Angular v4 to v6?

A. Not so bad. They guide you on this. See this awesome guide from the Angular team's @stephenfluin ... Also, for the future, the CLI will do a lot of it for you!

Q. When building enterprise app how do we structure JS framework e.g. MVC Area is a separate JS framework app?

A. I like to use web api with a framework for the views. I dont mix the views.

Q. Can I know which is the best framework for data visualization?

A. All of them. Vue specifically was built with this in mind, but they all do very well.

Q. I'm currently building an application using AngularJS. Should I be focused on upgrading to Angular 6? What are the benefits?

A. Performance, features, tooling, resources, modern build tool support, docs. if you are doing it from scratch, yes, look to latest versions.

Q. I am using angular 5, how about the browser capability other than Chrome. Getting lot of issues on Edge and IE. Please help me out.

A. Check out the polyfills file and see the docs on this. it will help you fill in any javascript gaps in browsers that have any.

Q. What do you think about web assembly?

A. Very cool and a lot of promise. it may help get folks from other platforms to the web.

Q. Do you think ngrx will ever get folded into angular core? I'm concerned that ngrx will be out of step with angular overtime.

A. I'm not worried. NgRx has some great core team members. One is on the Angular team (@robwormald).

Q. Is it possible to build mobile apps with Javascript frameworks [like Node.JS, AngularJS]?

A. Yes. PWAs, @Ionicframework , @reactjs , @NativeScript ... all good options. Or @electronjs for desktop apps.

Q. [I'm confused about the approach] ... Seems like only way is try and use these frameworks?

A. yes. features, community, resources ... pretty much everything is on par. It's like Java or .NET ... both are great.

Q. When you say all of these can scale what do you really mean?

A. People are successfully building small, medium, large apps with all of these without hitting major walls.

Q. Thank you for answering my ridiculous questions.

A. Thank you for asking ridiculous questions :)

Q. Silverlight REDUX?

A. Ha! I loved Silverlight ... the web changed ... a lot. I love html/css/javascript even more!

Q. Is javascript ready to replace all thick client apps that can be quite processor intensive / gui intensive

A. I don't think we need one thing to rule them all. Can you build a great app in javascript for a desktop app? Sure. But choose the right tool for the right job.

Q. After a beginner learns JS, do you have an opinion on a framework to start with that is beginner friendly or do you feel they should try them all which may seem daunting for a beginner?

A. I get it. But spend a day w/ each. You won't regret it. Always start w/ the CLIs

Q. Any certification path for the 3?

A. I'm not aware of any.

Q. What topics should I master in Javascript before moving to Frameworks

A. Great move! Grab a JavaScript book, video, or online course. There are plenty of great options.

Taking a break ... I tried to consolidate many of the questions as best I could. if I find more, i'll answer here.

I'm also working on setting up a follow up video with @pluralsight to address trying all 3
Q. Not JS, but what is your opinion of Flutter and Dart?

A. Flutter intrigues me. But I use neither.

Q. Which does best in the surveys?

A. See my video ... depending on which survey, any or all of them. Take all surveys as input, but don't accept any single one as definitive.


More from All

You May Also Like

"I really want to break into Product Management"

make products.

"If only someone would tell me how I can get a startup to notice me."

Make Products.

"I guess it's impossible and I'll never break into the industry."


Courtesy of @edbrisson's wonderful thread on breaking into comics – – here is why the same applies to Product Management, too.

There is no better way of learning the craft of product, or proving your potential to employers, than just doing it.

You do not need anybody's permission. We don't have diplomas, nor doctorates. We can barely agree on a single standard of what a Product Manager is supposed to do.

But – there is at least one blindingly obvious industry consensus – a Product Manager makes Products.

And they don't need to be kept at the exact right temperature, given endless resource, or carefully protected in order to do this.

They find their own way.
தொல்லை இரும்பிறவிச் சூழும் தளை நீக்கி
அல்லல் அறுத்து ஆனந்தம் ஆக்கியதே – எல்லை
மருவா நெறியளிக்கும் வாதவூர் எங்கோன்
திருவாசகம் என்னும் தேன்

1.எப்போது ஆரம்பித்தது என அறியப்படமுடியாத தொலை காலமாக (தொல்லை)

2. இருந்து வரும் (இரும்)

3.பிறவிப் பயணத்திலே ஆழ்த்துகின்ற (பிறவி சூழும்)

4.அறியாமையாகிய இடரை (தளை)

5.அகற்றி (நீக்கி),

6.அதன் விளைவால் சுகதுக்கமெனும் துயரங்கள் விலக (அல்லல் அறுத்து),

7.முழுநிறைவாய்த் தன்னுளே இறைவனை உணர்த்துவதே (ஆனந்த மாக்கியதே),

8.பிறந்து இறக்கும் காலவெளிகளில் (எல்லை)

9.பிணைக்காமல் (மருவா)

10.காக்கும் மெய்யறிவினைத் தருகின்ற (நெறியளிக்கும்),

11.என் தலைவனான மாணிக்க வாசகரின் (வாதவூரெங்கோன்)

12.திருவாசகம் எனும் தேன் (திருவா சகமென்னுந் தேன்)

முதல்வரி: பிறவி என்பது முன்வினை விதையால் முளைப்பதோர் பெருமரம். அந்த ‘முன்வினை’ எங்கு ஆரம்பித்தது எனச் சொல்ல இயலாது. ஆனால் ‘அறியாமை’ ஒன்றே ஆசைக்கும்,, அச்சத்துக்கும் காரணம் என்பதால், அவையே வினைகளை விளைவிப்பன என்பதால், தொடர்ந்து வரும் பிறவிகளுக்கு, ‘அறியாமையே’ காரணம்

அறியாமைக்கு ஆரம்பம் கிடையாது. நமக்கு ஒரு பொருளைப் பற்றிய அறிவு எப்போதிருந்து இல்லை? அதைச் சொல்ல முடியாது. அதனாலேதான் முதலடியில், ஆரம்பமில்லாத அஞ்ஞானத்தை பிறவிகளுக்குக் காரணமாகச் சொல்லியது. ஆனால் அறியாமை, அறிவின் எழுச்சியால், அப்போதே முடிந்து விடும்.
🌿𝑻𝒉𝒆 𝒔𝒕𝒐𝒓𝒚 𝒐𝒇 𝒂 𝑺𝒕𝒂𝒓 : 𝑫𝒉𝒓𝒖𝒗𝒂 & 𝑽𝒊𝒔𝒉𝒏𝒖

Once upon a time there was a Raja named Uttānapāda born of Svayambhuva Manu,1st man on earth.He had 2 beautiful wives - Suniti & Suruchi & two sons were born of them Dhruva & Uttama respectively.

Now Suniti was the daughter of a tribal chief while Suruchi was the daughter of a rich king. Hence Suruchi was always favored the most by Raja while Suniti was ignored. But while Suniti was gentle & kind hearted by nature Suruchi was venomous inside.

The story is of a time when ideally the eldest son of the king becomes the heir to the throne. Hence the sinhasan of the Raja belonged to Dhruva.This is why Suruchi who was the 2nd wife nourished poison in her heart for Dhruva as she knew her son will never get the throne.

One day when Dhruva was just 5 years old he went on to sit on his father's lap. Suruchi, the jealous queen, got enraged and shoved him away from Raja as she never wanted Raja to shower Dhruva with his fatherly affection.

Dhruva protested questioning his step mother "why can't i sit on my own father's lap?" A furious Suruchi berated him saying "only God can allow him that privilege. Go ask him"