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

Making a module optional in a parent module signature

$
0
0

Thank you @tsnobip. I think the first example is the best option of all. I wasn’t sure how to turn a function parameter (the value of which is a module/react component) back to a module/react component inside the body of the function. The keyword unpack is what I was after. I couldn’t find any documentation on rescript’s website for it.


Viewing all articles
Browse latest Browse all 2592

Trending Articles