0Tenth
(Lychee)
February 3, 2024, 5:59am
#1
I want to make a React-Lua based UI, but the documentation is lacking on how to actually mount the components.
I can’t figure out how to actually mount the components, and haven’t found anything to help with this.
I’ve tried reading through DevForum posts and I can’t find anything.
1 Like
Not very experienced in Roact but here is my attempt at rescue
local handle = Roact.mount(
Element Goes Here, -- Roact.createElement(...)
Parent Goes Here, -- game.Players.LocalPlayer.PlayerGui
Name of Object Goes Here -- "Super Cool UI"
)
https://roblox.github.io/roact/guide/components/
all the way at the bottom in this documentation
1 Like
0Tenth
(Lychee)
February 3, 2024, 4:32pm
#3
1 Like
0Tenth
(Lychee)
February 4, 2024, 7:12pm
#5
I missed that, thanks for pointing that out!
system
(system)
Closed
February 18, 2024, 7:12pm
#6
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.