30
React JS Oleksandr Kovalov binary-studio.c

Academy PRO: React JS. Typescript

Embed Size (px)

Citation preview

React JSOleksandr Kovalov binary-studio.com

LecturesTypescript

ES 2015

React.js

Redux

Tooling

Typescript

History1983 - First Pascal compiler -> Turbo/Borland Pascal

1989-1996 - Chief Engineer at Borland

1996 - join Microsoft

since 2000 - lead architect of the team developing the language C#

2012 - new project TypeScript - a superset of JavaScript.Anders Hejlsberg

Additional features to ECMAScript 5Type annotations and compile-time type checking

Interfaces

Enumerated type

Mixin

Generic

Namespaces

Tuple

Await

Backported features from ECMAScript 2015Classes

Modules

Abbreviated "arrow" syntax for anonymous functions

Optional parameters and default parameters

How to start?npm install -g typescript

greeter.ts

tsc greeter.ts => greeter.js (es3/es5/es2015)

Basic TypesBoolean

Number

String

Array

Enum

Any

Void

Functions

Generics

async/await

Modules

Declarations

Global libraries Single Complex Object

Triple-Slash Directives

typingsnpm install typings --global

*.ts -> *.jshttps://www.typescriptlang.org/play/index.html

Typescript Tools

Any questions?