From the course: SharePoint Framework for Developers: 1 Understanding the Toolchain

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

TypeScript classes ES3 vs. ES2015

TypeScript classes ES3 vs. ES2015

From the course: SharePoint Framework for Developers: 1 Understanding the Toolchain

Start my 1-month free trial

TypeScript classes ES3 vs. ES2015

- [Instructor] Learning TypeScript is absolutely essential to learning SPFx for that matter, Angular React. Most of the things these days we're writing we're doing that in TypeScript. And it would be completely unfair to say that this chapter is all you need to watch about TypeScript. TypeScript is one of those things that the more you write the better you get. So at the end of this course in the conclusion part I'll point you to some resources that you should watch as far as TypeScript goes. And naturally the more you use it the better you'll become. However, let me show you one other small example. Things that TypeScript gives you that makes TypeScript so valuable. So lets go ahead and run NPM start one more time. And now this is running the transpiler so lets go back to our code here. And I'm going to say, well class. So it gives me the ability to write classes. So class something static instances equals lets say zero. And constructor and something.instances plus plus. But you see…

Contents