
React and React Native
By :

As we embark on this journey to learn about type-checking and validation, let’s momentarily step away from React and React Native and turn our attention to TypeScript. You might be wondering, “What exactly is TypeScript?”
TypeScript is a statically typed superset of JavaScript, developed and maintained by Microsoft. This means that it adds additional features to JavaScript, one of the most significant being static typing. While JavaScript is dynamically typed, TypeScript introduces a type system that allows you to explicitly define the type of data that variables, function parameters, and function return values can have.
But don’t worry, TypeScript is completely compatible with JavaScript. In fact, any valid JavaScript code is also valid TypeScript code. TypeScript uses a transpiler (a type of compiler) to convert TypeScript code, which browsers can’t understand directly, into JavaScript code, which can run in any...
Change the font size
Change margin width
Change background colour