I am new to Roact, so correct me if I have any misunderstandings of the library, but I noticed there doesn't seem to be a built in way to create an element from an existing roblox gui object, in the case where you would want to prebuild your GUIs in roblox studio and use them as a template for a Roact based gui library.
I suggest that the library is extended to include this functionality. I have not tested this code, but I am attempting to do it in my code, using a function like this:
local function createRoactElement(guiObject)
local props = {}
for k, v in pairs(guiObject) do
if typeof(v) ~= "function" and k ~= "Parent" and k ~= "ClassName" then
props[k] = v
end
end
return Roact.createElement(guiObject.ClassName, props)
end