About this blog →

ReScript Blog

How to verify uncurring a callback is working?
Sun Mar 20 2022

Check if a file is actually a file in Node
Fri Mar 18 2022

How to remove the comment at the top of ReScript generated files
Fri Mar 04 2022

Understanding optional named arguments
Wed Mar 02 2022

Type for an empty object
Sat Feb 26 2022

How to bind to polymorphic event listeners in ReScript?
Fri Feb 25 2022

Simple GADT Example
Tue Feb 22 2022

How to create an immutable array?
Sat Feb 19 2022

How to access __filename and __dirname in ES6 modules in ReScript?
Wed Feb 09 2022

How to access import.meta.url in ReScript?
Wed Feb 09 2022

How embed a Disqus discussion in ReScript React?
Sat Dec 18 2021

How to encode a record as an array?
Sat Dec 18 2021

How to bind to an external component in ReScript?
Sat Dec 18 2021

How to implement module recursion in ReScript?
Thu Dec 02 2021

Polymorphic type constraints
Sat Sep 04 2021

Convert Record properties into accessor functions
Thu Aug 12 2021

Creating JavaScript objects with optional properties
Fri Aug 06 2021

How to open and destructure a module?
Thu Jul 22 2021

How to define an argument for an external function that has a hard coded value?
Sat Jul 17 2021

How to pass a "type" prop to an external React component
Sat Jul 17 2021

How to fetch JSON data from Node?
Sun Jul 04 2021

Removing the unnecssary "param" argument in callbacks with no arguments.
Sun May 30 2021

Importing files using Webpack
Thu May 27 2021

How to detect the existance of a global value?
Sun May 09 2021

How to use the coercion operator?
Sun May 09 2021

How to find unique objects in an array by a key?
Thu May 06 2021

How to convert a polymorphic variable to a string?
Thu May 06 2021

Error when exporting a mutable binding
Thu May 06 2021

Fetching data in React components
Sun Feb 14 2021

Return empty value in a promise
Sun Feb 14 2021

Convert ReasonML Syntax to ReScript
Thu Feb 11 2021

Reading JSON files in ReScript
Sat Feb 06 2021

Pipe first argument position
Thu Jan 07 2021

Number literals alternative syntax
Sun Jan 03 2021

How to create a simple cache in ReScript
Fri Dec 18 2020

How to handle JavaScript objects with different shapes in ReScript?
Tue Dec 15 2020

How to create a recursive type in ReScript
Mon Dec 14 2020

How to use Unicode characters in ReScript?
Mon Dec 14 2020

What is the type of a node callback in ReScript?
Sun Dec 13 2020

How to access global modules and values in ReScript?
Sun Dec 13 2020

Why use ReasonReact.string() in ReasonReact?
Sun Dec 13 2020

Writing a simple stateful Redux store in ReScript (without React)
Sun Dec 13 2020

Using ReScript server side with Node.js
Sun Dec 13 2020

Creating a Reader Monad in ReScript
Sun Dec 13 2020

ReScript Polymorphic Variants
Sun Dec 13 2020

Simple example of a polymorphic object in ReScript
Sun Dec 13 2020

Partially applying function arguments out of order
Sun Dec 13 2020

How to create a multiline string in ReScript
Sat Dec 12 2020

ReScript module signatures with abstract types
Sat Dec 12 2020

How to use local storage in ReScript
Sat Dec 12 2020

How to determine if a global value exists in ReScript?
Sat Dec 12 2020

How to access global functions in ReScript?
Sat Dec 12 2020

How to fetch JSON data with ReScript?
Sat Dec 12 2020

De-structuring ReScript type data (using pattern matching)
Sat Dec 12 2020

Writing a compose function in ReScript.
Sat Dec 12 2020

How to access the window document object in ReScript?
Sat Dec 12 2020