Florian's Avatar

Florian

@fham.dev.bsky.social

ReScript enthusiast and core contributor fham.dev

500 Followers  |  412 Following  |  100 Posts  |  Joined: 04.11.2024  |  2.4165

Latest posts by fham.dev on Bluesky

Latest @rescript-lang.org beta slaps hard!

github.com/rescript-lan...

19.07.2025 14:00 β€” πŸ‘ 6    πŸ” 4    πŸ’¬ 0    πŸ“Œ 0

But most users just seem to get used to the module name verbosity. More to parse for the brain but also easier to comprehend, esp. when there are different modules involved, like Array, Map, Set, etc.

17.07.2025 15:37 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
ReScript Playground Try ReScript in the browser

You don't need float operators anymore in ReScript 12. You just need to use the same type on both sides of the operator.

Also ReScript has `%` now.

Also there are some ways to decrease the noise of recurring module names a bit:

rescript-lang.org/try?version=...

17.07.2025 15:37 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Preview
[ANN] ReScript 12 beta release / call for testing Hello ReScripters! We are happy to announce that we finally released the first beta of ❇ ReScript 12 ❇ . This comes with the new build system (codename rewatch) enabled by default. Please try it o...

Help us test our new build system which comes enabled by default with the first ReScript v12 beta.

npm create rescript-app@next

forum.rescript-lang.org/t/ann-rescri...

12.07.2025 09:58 β€” πŸ‘ 18    πŸ” 7    πŸ’¬ 0    πŸ“Œ 1

Other than that don't hesitate to ask for bindings here or in the forum.

12.07.2025 09:06 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Preview
GitHub - Fattafatta/rescript-solidjs: ReScript bindings for solid-js. ReScript bindings for solid-js. Contribute to Fattafatta/rescript-solidjs development by creating an account on GitHub.

There is also github.com/Fattafatta/r..., but as far as I can see it has not been updated for ReScript 12 yet and has a more convoluted setup.

12.07.2025 09:06 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Preview
[Feedback] Preserve JSX mode Thanks for playing with this @Fattafatta! We are tracking JSX preserve mode: unused import of "react/jsx-runtime" Β· Issue #7433 Β· rescript-lang/rescript Β· GitHub already.

SolidJS might work finally without workarounds with ReScript 12. Coincidentally we released the first beta yesterday.

You need to enable "JSX preserve mode" though. Info in forum thread: forum.rescript-lang.org/t/feedback-p...

npm create rescript-app@next

12.07.2025 09:06 β€” πŸ‘ 3    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
More ReScript and Kaplay
YouTube video by nojaf More ReScript and Kaplay

I made another video on @rescriptlang and @kaplayjs
youtu.be/xxBPtmtvBTc?...

Exploring the published bindings nojaf.com/rescript-kap..., a Flappy Bird clone and Rewatch!

10.06.2025 09:21 β€” πŸ‘ 6    πŸ” 3    πŸ’¬ 0    πŸ“Œ 0

You would use JSX in ReScript as well?

29.05.2025 21:19 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Post image

ITS HAPPENING

Firefox 127 shipped today making it the first browser to support Temporal - the new API for working with Dates, times, timezones + durations

27.05.2025 22:22 β€” πŸ‘ 524    πŸ” 83    πŸ’¬ 17    πŸ“Œ 14

A solid demo of how ReScript integrates seamlessly with popular JS tools!

20.05.2025 09:41 β€” πŸ‘ 13    πŸ” 1    πŸ’¬ 0    πŸ“Œ 0
Building a game with ReScript & KAPLAY
YouTube video by nojaf Building a game with ReScript & KAPLAY

I made a video about @kaplayjs.com and @rescript-lang.org
youtu.be/zUyrHXB_ImE
Had a lot of fun with this!

20.05.2025 08:23 β€” πŸ‘ 5    πŸ” 1    πŸ’¬ 0    πŸ“Œ 1

Just saw your other comment, this is redundant, oops.

08.05.2025 17:26 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Add tailwind 4 to the bunch and you can move the config into your main css file instead (which is usually not in root).

08.05.2025 12:51 β€” πŸ‘ 3    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

but it has a border that I can't seem to get rid of. Did not find borderless stickers.

07.05.2025 11:39 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Preview
Product template sharing Personalize up to 396 products and order for yourself, or launch a store and sell them under your brand. βœ”οΈNo minimums βœ”οΈWorldwide shipping

I just tried setting up a printful one but it's very expensive.
>2€ per sticker and even a bulk order of 50 costs a 100 bucks.

Use at your own risk: www.printful.com/product-temp...

07.05.2025 11:33 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Post image

Next up we have a talk about the new build system, Rewatch by Jaap Frolich.

03.05.2025 08:11 β€” πŸ‘ 8    πŸ” 3    πŸ’¬ 2    πŸ“Œ 0
Post image Post image

Good morning!

We are currently kicking off this year's ReScript Retreat with a talk about editor tooling by @z-th.bsky.social and @nojaf.com.

03.05.2025 07:42 β€” πŸ‘ 13    πŸ” 5    πŸ’¬ 2    πŸ“Œ 0

Welcome to Europe!

02.05.2025 08:10 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Amazing work by @hyeseong.kim !

30.04.2025 19:46 β€” πŸ‘ 12    πŸ” 1    πŸ’¬ 0    πŸ“Œ 0
Post image

@rescript-lang.org has officially adopted @pkg.pr.new, which means we now have npm packages for every commit πŸš€

No more npm link or waiting for an alpha release!

Thank you @aslemammad.bsky.social, @amirsakhravi.bsky.social and the @stackblitz.com team for supporting the ecosystem.

01.05.2025 08:57 β€” πŸ‘ 14    πŸ” 5    πŸ’¬ 0    πŸ“Œ 2

No one is going to say it so I will: this feature was built by the people on the react team working at vercel. Next.js could have easily built this only for themselves, but instead they helped build it into react for everyone.

29.04.2025 00:16 β€” πŸ‘ 60    πŸ” 4    πŸ’¬ 4    πŸ“Œ 0

I thought in 2025 we would have records and tuples, sum types and pattern-matching in JS but nope.

At least the lack of these features, along with the sound type system, prevent me from using the "default".

24.04.2025 17:38 β€” πŸ‘ 3    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Or in Fahrenheit:

Fri, May 2nd
🌀 Partly cloudy β€” 73Β°F / 57Β°F

Sat, May 3rd
β˜€οΈ Sunny β€” 72Β°F / 59Β°F

Sun, May 4th
β˜€οΈ Sunny β€” 75Β°F / 59Β°F

Mon, May 5th
β˜€οΈ Sunny β€” 81Β°F / 63Β°F

22.04.2025 11:36 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
screenshot of a weather forecast (german):
FR 02.05.
Leicht bewΓΆlkt 23Β° / 14Β°
SA 03.05.
Sonnig 22Β° / 15Β°
SO 04.05.
Sonnig 24Β° / 15Β°
MO 05.05.
Sonnig 27Β° / 17Β°

translation / conversion to Fahrenheit:
Fri, May 2nd
🌀 Partly cloudy β€” 73Β°F / 57Β°F

Sat, May 3rd
β˜€οΈ Sunny β€” 72Β°F / 59Β°F

Sun, May 4th
β˜€οΈ Sunny β€” 75Β°F / 59Β°F

Mon, May 5th
β˜€οΈ Sunny β€” 81Β°F / 63Β°F

screenshot of a weather forecast (german): FR 02.05. Leicht bewΓΆlkt 23Β° / 14Β° SA 03.05. Sonnig 22Β° / 15Β° SO 04.05. Sonnig 24Β° / 15Β° MO 05.05. Sonnig 27Β° / 17Β° translation / conversion to Fahrenheit: Fri, May 2nd 🌀 Partly cloudy β€” 73Β°F / 57Β°F Sat, May 3rd β˜€οΈ Sunny β€” 72Β°F / 59Β°F Sun, May 4th β˜€οΈ Sunny β€” 75Β°F / 59Β°F Mon, May 5th β˜€οΈ Sunny β€” 81Β°F / 63Β°F

If the forecast is somewhat accurate we'll have t-shirt weather at the retreat:

22.04.2025 11:33 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 2    πŸ“Œ 0
Preview
React Native 0.79 - Faster tooling and much more Β· React Native Today we are excited to release React Native 0.79!

React Native 0.79 is now available!

This release includes several performance improvements. Metro is now >3x faster to cold start! Android apps will also be faster thanks to changes to JS bundle compression.

reactnative.dev/blog/2025/04...

08.04.2025 13:22 β€” πŸ‘ 65    πŸ” 18    πŸ’¬ 2    πŸ“Œ 1

Many such cases

04.04.2025 20:25 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
ReScript, ESLint and the React Compiler ReScript, ESLint and the React Compiler

I wrote a blog post about using the React compiler with #rescript. You can check it out here: blog.nojaf.com/2025/03/23/r.... Things are going smoothly so far!

25.03.2025 10:21 β€” πŸ‘ 16    πŸ” 4    πŸ’¬ 0    πŸ“Œ 0

What are the TypeScript config options you use that are not well known that everyone should use?

24.03.2025 12:52 β€” πŸ‘ 2    πŸ” 2    πŸ’¬ 0    πŸ“Œ 0

Ah nice! Yes it used to fallback to building from scratch if none of the shipped binaries worked for the architecture and OS. But that was always very unstable.

What platform are you using?

24.03.2025 12:36 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

@fham.dev is following 20 prominent accounts