DEV Community

When and Where to use ReScript? The ReScript happy path

Hyeseong Kim on November 24, 2023

Disclaimer: This article is opinionated, and it's assuming you've already looked into ReScript a bit. I wrote this to defend my judgment on using o...
Collapse
 
jderochervlk profile image
Josh Derocher-Vlk

Using TypeScript and Rescript together is a great suggestion, especially while ReScript is still growing in popularity and TS is a mega giant. Using TS for the parts that require external libraries with tricky and complicated bindings, and use ReScript for your main components and functions.

Great write up!

Collapse
 
paulsebastianmanole profile image
Paul-Sebastian Manole • Edited

You kinda nailed it at the end: if someone ever built a React framework like Next.js or TanStack Start (just to name at least one newer up and coming framework with great potential), ReScript would definitely see an explosion in interest and more uses in production. I know I would think about it. But currently it's easier and less of a hassle to use something like Effect-TS with TypeScript, and effect/platform.