DEV Community

Discussion on: Pitch me on TypeScript

Collapse
 
lyrod profile image
Lyrod

And without the npm ecosystem 🤣

Collapse
 
codewander profile image
codewander

sadly, you end up using js/typescript libraries for a portion of your work and rescript-react ends up depending on react, which is why I am more excited about elm, but if someone is considering typescript for frontend, then one should at least try rescript before settling on typescript.

Thread Thread
 
lyrod profile image
Lyrod

I tried rescript like 6 months ago. I quit when I saw how hard is to import the basic of "fs" or "path" from nodejs.

Thread Thread
 
codewander profile image
codewander

Makes sense. But for front end, it's not as big a deal. There are repos that show common node library bindings, but I would only use rescript for front end currently.