Quantcast
Channel: ReScript Forum - Latest posts
Viewing all articles
Browse latest Browse all 2592

I'm confused with unknown for bindings

$
0
0

Well, the current documentation around unknown is not very helpful, unknown is pretty much a dead end unless you actually parse it. It’s not a great fit for bindings to functions where you actually know the shape of the value.

The real question here is how would you handle these values in js? Would it follow some kind of rules or would you have to parse it every time?


Viewing all articles
Browse latest Browse all 2592

Trending Articles