ReactFoo Bangalore annual conference

India's largest React conference

React and TypeScript, an interesting combo

Submitted by Yaser Adel Mehraban (@yashints) on Sunday, 30 September 2018

videocam_off

Technical level

Intermediate

Section

Full talk

Status

Submitted

Vote on this proposal

Login to vote

Total votes:  +1

Abstract

Let’s be honest. JavaScript is a weird programming language. Douglas Crockford, the creator of JSON said this about it:

JavaScript is built on some very good ideas and a few very bad ones.

Becuase of the same reason, people have been trying to reduce some of this weirdness by using TypeScript and to be honest it has helped a lot. React is not an exception too, and fortunately the support has been very good and people have been active adding types to their libraries, TypeScript without types is not that useful after all 😁.

In this talk I will show you how to effectively use TypeScript with React and what are some common mistakes people make along the way which you can avoid easily.

I can assure you that you will feel more effiecient after learning these and hope those who aren’t using it, can convince their teams to start using it, all JavaScript code are valid TypeScript code anyway, so no excuses.

Outline

  • Intro to TypeScript
  • How to setup a new React project with TypeScript
  • How to migrate an existing project to use TypeScript
  • Some cool tips and tricks to increase productivity

Speaker bio

This man whose name only looks hard to say, is a creative web developer, consultant, blogger, hiker and father. He is a puppet master of code, bending the backend code to his will in elegant and ingenious fashion.

He is a die hard fan but don’t hold this against him because, well, he is still a team player and , umm, poutine.

Links

Comments

Login with Twitter or Google to leave a comment