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

Access to React's named Fragment element?

$
0
0

Hi, I want to make a fragment but I want to pass it a key,

<Fragment key={k}> ... </Fragment>

I can make a fragment with <>...</> but then I can’t give it any props.

How can this be accomplished in ReScript? I don’t think the React bindings support it.


Viewing all articles
Browse latest Browse all 2592

Trending Articles