experimental-rescript-webapi
Experimental successor to rescript-webapi
Getting started
Install the package using your favorite package manager:
npm i @rescript/webapi@experimental
and add @rescript/webapi to your rescript.json:
{
"dependencies": [
"@rescript/webapi"
]
}
Usage
let location = WebAPI.Window.current->WebAPI.Window.location
let href = location.href
location->WebAPI.Location.reload
Documentation
More information can be found on https://rescript-lang.github.io/experimental-rescript-webapi/