I'm currently working on a frontend project using and React 19. While I consider myself a competent React developer, I appreciate having tools that help maintain best practices. A linter proves invaluable in ensuring I follow , and since my instinct for React memoization isn't perfectly tuned yet, I'm leveraging the new React compiler to handle that optimization. ReScript doesn't include built-in linting or analysis tools, so in this post, I'll explain how to set up to analyze the JavaScript output. For this setup, I'm using as my JavaScript runtime and package manager. At the time of writing, I'm…
ReScript, ESLint and the React Compiler
Running JetBrains Rider in WSL 2
Want to run JetBrains Rider in your WSL environment? I recently navigated this process and want to share my insights. With , this is now possible, though not without some hurdles. Here's how to start: Launch Rider with the rider.sh script: Rider didn't launch for me: I encountered an error related to libXrender.so.1. It turns out I was missing some rendering packages, which I resolved by installing Nautilus: While Nautilus isn't the direct solution, it installs necessary dependencies. Running Rider in WSL2 can be resource-intensive. To improve performance, I configured WSL to use more memory: I've had limited success with Gateway…
Unleashing Parallel Processing in Your F# Compiler
Hey there, let's cut to the chase: the dotnet SDK release brings some feature flags that can turbocharge your F# compiler.In this post, I'm shining a spotlight on three of these gems that you absolutely need to give a spin. First things first, you need the latest ( and beyond). Then, let's tweak some to fine-tune the F# compiler in MSBuild.Just drop this snippet into your or file: () Want to double-check if it's working? Run and spot the extra compiler flags in : But what magic do these flags weave, you ask? They…
Fantomas 6: The Legendary Formatter
Early this year we announced our plans for .We are happy to announce that we have wrapped up the development of version 6 and a preview is now available on . Fantomas 6 is a major release and contains a lot of new features and improvements. In this post we will highlight some of the most important changes. Fantomas 6 is now able to format multiple files in parallel. This is a huge improvement for large projects.This happens out of the box and you don't have to do anything to benefit from this. In recent months, the has been…
My F# compiler scripts
For the last year, I've been working quite extensively in the codebase.I've picked up a couple of habits and created some helper scripts along the way.This is some stuff that works for me and it might be insightful for you. Or not.In this blog post, I'm going over some of my frequently used scripts. Some are general purpose, others are very specific to the F# compiler codebase. I've always been a Windows guy and thus is my go-to. Having multiple terminal windows open is the norm and I frequently add (or alias) functions in my .I'll go over some…