This:
let f =
React.functionComponent (fun () -> Html.text "abc")
let app =
React.functionComponent
(fun () ->
Html.div
[
f ()
Html.text "ijk"
]
)
Looks like this:

However, this:
let app =
React.functionComponent
(fun () ->
Html.div
[
React.functionComponent (fun () -> Html.text "abc") ()
Html.text "ijk"
]
)
Looks like this:

What are the rules around calling React.functionComponent inside of a component?