It sets the children to be blank after the first render, which is bad. We can fix this by removing the line that sets the props[roact.Children] to nil, but we don't really want children to be in props. Haven't quite figured out a better solution yet.
For now, to fix, you have to do this following code: local children = hooks.useMemo(function() return children end, {props}), since the children will get set correct whenever props change.
The faulty code is https://github.com/fewkz/froact/blob/c9790a07feaea1ef6a598c0471ad8a12752251b0/froact.lua#L174-L176
It sets the children to be blank after the first render, which is bad. We can fix this by removing the line that sets the props[roact.Children] to nil, but we don't really want children to be in props. Haven't quite figured out a better solution yet. For now, to fix, you have to do this following code:
local children = hooks.useMemo(function() return children end, {props})
, since the children will get set correct whenever props change.