Managing big apps have its own problems and one of them is managing imports. Typescript allows you to have path aliases which makes it easier to refer to modules. In this tutorial we will see how we can use path aliases in React Native app created using Expo and Typescript.
Typescript has a type system which provides more capabilities than the type
system in C# and Java. The one that I found to be very useful is the union type
in Typescript. Let's define what a union type is
Union Type
In javascript libraries you might see that
Interface in Typescript is used to tell the compiler what the shape of the JS
object should look like.
It is a compile time construct hence it will not have generated code as type
checking in Typescript is only done at compile time rather than runtime.
I'm learning