How to work with Browser API?


#1

I wanna ask about Browser API.
How can I use something like FileReader or Audio in my ReasonReact app?

Thanks!


#2

You must write bindings to FileReader and Audio.

It already exists some bindings for some browser api in this library bs-webapi.

You can take inspiration from this library, or even contribute to it.