ReScript (@rescriptlang) 's Twitter Profile
ReScript

@rescriptlang

rescript-lang.org
Ship great products!

ID: 1266416180329246720

calendar_today29-05-2020 17:09:20

488 Tweet

4,4K Followers

12 Following

ReScript (@rescriptlang) 's Twitter Profile Photo

Type inference is simple but powerful. The compiler will infer each type that's unknown by usage. A consequence of this is that prop drilling is really simple, because you rarely have to annotate props. Just using the prop in the component defining it is usually enough.

Type inference is simple but powerful. The compiler will infer each type that's unknown by usage. 

A consequence of this is that prop drilling is really simple, because you rarely have to annotate props. Just using the prop in the component defining it is usually enough.