Forest Logo
search
package_2

react-roblox

By @jsdotlua

Roblox

Mirrored from Wally

This version ships no README. Showing the README from v17.0.4, mirrored from wally.

react-roblox

This package serves as a Roblox renderer for React. It is intended to be paired with the generic React package, which is shipped as jsdotlua/react to Wally.

Usage

local React = require(Path.To.React)
local ReactRoblox = require(Path.To.ReactRoblox)

local function App()
    return React.createElement("TextLabel", {
        Text = "Hello, world!"
    })
end

local element = React.createElement(App)

local root = ReactRoblox.createRoot(Instance.new("Folder"))
root:render(ReactRoblox.createPortal(element, playerGui))

API

TODO

Package Details

Install command (Click to copy)


Version

17.2.1

License

MIT

check_circle

Safe for commercial use

Automated license review — not legal advice.