mattkrick / meatier

:hamburger: like meteor, but meatier :hamburger:
3.05k stars 172 forks source link

Typescript #177

Open krasevych opened 7 years ago

krasevych commented 7 years ago

What do you think about add typescript or flow to the Meatier? static types can help you avoid mistakes and give a good inline doc for some plugins/libs... ?

mattkrick commented 7 years ago

I like flow more than typescript, but given the choice I'd still choose plain JS, maybe jsdoc if it's tricky stuff. If you've got any repos that might change my mind where flow typings look nicer than react proptypes lemme know!

krasevych commented 7 years ago

why do you like flow more than typescript?

mattkrick commented 7 years ago

it's like a lightweight typescript. i can still use babel. maybe it wont be much of an issue moving forward, but the typescript transpiler couldn't do a lot of ES2015+ things that babel could do. making ts play nicely with webpack was such a chore.

krasevych commented 7 years ago

ok thanks I will read some articles about static types and maybe I will change my mind