While ReScript provides strong types to ensure no null pointer exceptions and errors, when JavaScript calls your ReScript code, all bets are off. We show you how to use a single configuration Object to solve a bunch of problems, and show you how to leverage ReScript's JavaSript types to retain sound typing, but still speak in helpful errors, a language JavaScript developers understand.
Blog post: https://jessewarden.com/2021/04/provi...