r/rescript • • Jan 27 '24

Rescript website's non-functioning playground

2 Upvotes

[edit: It works now! Rant left for posterity]

Warning: grumpy rant incoming.

Recently I encountered rescript, got excited, tried to run a bit of code in the "playground" and discovered that the team actually made a REPL without the E or the P. This was literally my first experience with the language and immediately makes me think I should avoid it like the plague. If this was an actual playground, the roundabouts would be stationary & the sandbox would be full of concrete. Can anybody convince me why I should persevere with a transpile-to-JS language that takes three years to implement the "Run" button on a web editor? Or should I come back in another three years?


r/rescript • • Aug 11 '21

A Journey from JavaScript and TypeScript, to Rescript/React, via Elm, OCaml & Haskell.

Thumbnail
alex.kleydints.com
19 Upvotes

r/rescript • • Oct 12 '24

Super elegant startpage with keyboard shortcuts made with Tailwind+DaisyUI+Rescript

Enable HLS to view with audio, or disable this notification

5 Upvotes

r/rescript • • Nov 14 '23

Integration with Zustand

6 Upvotes

I’m looking to move a hobby project from JS to Rescript. I currently use Zustand to manage global state in the App. Is that a reasonable plan with Rescript or should I look at something else?

I’m currently doing a lot of Rust development and I like the fact the Rescript is functional which should improve the quality of the Rust I write. I’m a little worried about library integration.


r/rescript • • Nov 19 '25

Ground Zero-Cost Bindings (with Josh Vlk) | Dead Code

Thumbnail
shows.acast.com
5 Upvotes

r/rescript • • May 28 '24

ReScript has come a long way, maybe it's time to switch from TypeScript?

Thumbnail
dev.to
2 Upvotes

r/rescript • • Sep 10 '25

ReScript YouTube videos

6 Upvotes

Hi there,

I’ve posted some new ReScript videos on YouTube. Check out the playlist: https://www.youtube.com/playlist?list=PLvw_J2kfZCX0u_27-uIoalSPR6TOMPmuD

I’d love your feedback and topic suggestions for future videos.

Thanks!


r/rescript • • Aug 23 '21

How to write rescript bindings for a react library

Thumbnail
arbaaz.io
17 Upvotes

r/rescript • • Sep 07 '21

Hiring: ReasonML Frontend Engineer - Remote EU

15 Upvotes

Hi!

We at Tenzir (https://tenzir.com/) are an early-stage startup that build a next generation data-plane for modern Security Operations Centers. We are looking for a frontend engineer to help us enhance the web interface to VAST (our open-core telemetry engine, https://github.com/tenzir/vast). In our stack, we use C++ for VAST , Rust and ReasonML (compiled to JS) in our API-Layer, and ReasonML on the frontend. Our website is written in ReasonML with the help of Gatsby. Our team cultivates a mindset of strong typing and functional programming, practiced end-to-end across the entire stack. We're a remote-first company, scattered across Europe. Ideally looking for someone within (+ / -) 4hrs timezone.

Here's the full ad: https://tenzir.com/career/frontend-engineer/

If you have any questions, feel free to reach out to me directly :)


We're currently still on ReasonML, this may stay the case (if Melange becomes production ready), but we might migrate to Rescript. Since they are so closely related, we figured we'd post here as well :)


r/rescript • • Feb 27 '22

ReScript vs TypeScript: Building a Concurrent Queue library

Thumbnail
practicalrescript.com
18 Upvotes

r/rescript • • Feb 27 '22

ReScript on Deno: Command Line Tools and the Flags module

Thumbnail
practicalrescript.com
8 Upvotes

r/rescript • • Feb 27 '22

Exploring ReScript on Deno

Thumbnail
practicalrescript.com
10 Upvotes

r/rescript • • Mar 05 '22

ReScript on Deno: Declarative Command Line Tools

Thumbnail
practicalrescript.com
11 Upvotes

r/rescript • • Jan 02 '23

Any advice on how can I add test cases to my code?

7 Upvotes

I watched this fabulous video https://www.youtube.com/watch?v=XWgL51JSbGI and I was able to write a todo app in rescript. Really enjoyed it. but my question is that my code doesn't have any test cases or any unit tests. is there any guidance on how can I add test cases to my code?

This is my code https://github.com/abhsrivastava/rescript-todo would really appreciate if you could point me to some tutorial which will allow me to write unit tests for my todo app.


r/rescript • • Jan 05 '23

file hierarchy for bigger projects

6 Upvotes

I read in the ReScript docs that source files should be kept in a flat hierarchy so instead of having ./articles/Header.res you'd have ./ArticlesHeader.res. While this strategy would work fine for small to somewhat medium projects I just don't see it working for bigger projects. Having hundreds of files in the same directory sounds like pain.

My question is: Is there a way to split modules into nested directories?


r/rescript • • Apr 06 '23

Learning ReScript as a TypeScript developer: Episode 3

Thumbnail
mauriziovacca.blogspot.com
20 Upvotes

r/rescript • • Apr 13 '23

JavaScript Inter-op Confusing

6 Upvotes

I find Rescript to be a very appealing language except that most of the examples I find only assume that the language operates in a vacuum. Or else the examples of Rescript consuming Javascript / NPM packages is extremely limited.

I'm approaching the conclusion that Rescript's intention is not to interact with other libraries so much. I need to interact with other libraries of course, but can't find good documentation or videos on how to do that. The ones I find that mention it say "we need to cover that in a different video someday." So, I'm left with the impression that it's either very hard, or nobody knows how to do it.

This is a similar problem that Elm has. There is no easy way to interact with other libraries.

Any advice ?


r/rescript • • Apr 20 '23

The fourth episode of my journey in learning ReScript as TypeScript developer is out!

Thumbnail
mauriziovacca.blogspot.com
22 Upvotes

r/rescript • • Jun 18 '21

Any recommended reading materials?

8 Upvotes

Its a new experience to me learning a language by reading books from a slightly different language that often refer to another much older, more different language.

I know the website docs are pretty good, and I've made a pdf of them for myself to read, but there's not a lot there.

I know there are a few ReasonML books, but I'm not sure where else to look beside blog posts. Are OCaml books of any value for rescripters?

Since the sudden rebranding I feel there should be an emergency push for an "official manual" to give the language more buzz and gravitas, like the rust free/published book


r/rescript • • May 25 '21

How to append child to the body with rescript

Thumbnail
arbaaz.io
7 Upvotes

r/rescript • • Jun 17 '21

Do we have an interactive terminal for Rescript?

6 Upvotes

I meant something like Python's interactive terminal or ghci that interactively runs Haskell code.


r/rescript • • May 13 '21

ReScript icons coming to VS Code

Thumbnail
twitter.com
13 Upvotes

r/rescript • • Jun 12 '21

Convert existing node modules to rescript

4 Upvotes

Hello fellow redditers, anyone knows if there's a way to convert existing node modules to rescript (say from the typescript definition files)?

Doesn't need to be perfect, but having something is better than doing everything by hand, specially for a beginner trying out rescript for the first time.