ReScriptReact has his own navigation system that is pretty simple and performant. In that way, we can write our own "framework" to make our navigation type-safe.
Like many front-end developers, I already have forgotten by the past to remove my debugging logs until the production deployement done 😖.
In a previous article, I talked to you about decco to decode API payload. Today, we will see how we decode an enumeration of string with this library.
When you fetch data from an API with ReScript, we end up parsing the object manually and let the inference do his job