Roadmap
ReScript was created by Hongbo Zhang, whose foundational work shaped the language and compiler. Today, ReScript is developed in the open by individual contributors and members of the ReScript Association.
ReScript 13
The target for the ReScript 13 release is Q1 2027, with the beta phase starting in December 2026. This roadmap describes the intended outcomes of the release rather than tracking the day-to-day status of individual changes.
The main areas of focus are:
Source Maps and Debugging
Compiler-generated source maps, with linked, inline, and hidden modes, will make generated JavaScript easier to debug. Tools that consume source maps will be able to relate stack traces and runtime performance profiles back to their original ReScript source.
Faster Builds, Without the Legacy Build System
The build system introduced as the default in ReScript 12 (codenamed Rewatch) becomes the only one in ReScript 13: support for the legacy Ninja-based builder is removed. Projects that already use the default build system in ReScript 12 do not need to change their build configuration.
The build system and the compiler are now a single binary, so modules are compiled in-process on several CPU cores instead of spawning a compiler process per file.
Build output moves from lib/bs and lib/ocaml into one flat lib/rescript directory per package, without copies of the sources or generated JavaScript. The build system also focuses on reliable monorepo builds, production-only builds, feature-gated source directories, and a better watch-mode experience.
A lot of fine-tuning has also gone into the performance of the compiler itself, from type checking to code generation, so builds should be faster overall. For example, modules with many JSX elements compile up to 10× faster, and several cases with quadratic compile time, such as large list literals or let rec groups, are now linear.
Cross-Module Inlining with @inline
@inline functions are inlined into every module that calls them, not only their own. Many small standard-library functions are marked @inline, so calls such as Option.isSome, Option.getOr, Array.reduce, or the Result combinators compile to the JavaScript they run instead of a function call. A new warning tells you when an exported @inline function cannot be inlined in other modules, and why.
JavaScript-Style Control Flow
ReScript 13 adds for...of and for await...of loops for iterables and async iterables. Loops also support break and continue, and try gains a finally block, making common JavaScript control-flow patterns available without dropping down to bindings or helper functions.
Better JavaScript Interop
Untagged variants can match on JavaScript classes and opaque types with
@instanceOfand@typeOf, so values likeFile,Blob, orSymbolcan be variant cases.First-class, type-safe tagged-template functions.
Inline record types in external definitions.
Temporalbindings in the standard library.Nested components such as
<Sidebar.Provider />work as React Server Components client references.
More JavaScript-Aligned Language Features
The ReScript 13 language direction also includes:
dictionary spreads
record rest destructuring
$in identifiers, e.g.let count$ = signal(0)
Other Improvements
Pattern matching gains int range patterns, such as 200 .. 299 for HTTP success codes.
Error messages improve as well, for example signature mismatches now show only the items that differ, in ReScript syntax.
Follow Development
For the latest details, follow the ReScript 13 compiler changelog, the development section of the ReScript forum, and the ReScript blog.
Release contents and timing may change.