
Research
/Security News
Critical Vulnerability in NestJS Devtools: Localhost RCE via Sandbox Escape
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
@rbxts/react-ts
Advanced tools
To allow React in Roblox-TS, this package combines `jsdotlua/react` and `jsdotlua/roact-compat` and re-exports them with typings from `@rbxts/roact` some types from [the DefinitelyTyped package](https://github.com/DefinitelyTyped/DefinitelyTyped/blob/mast
@rbxts/react-ts
To allow React in Roblox-TS, this package combines jsdotlua/react
and jsdotlua/roact-compat
and re-exports them with typings from @rbxts/roact
some types from the DefinitelyTyped package.
The package also needs to be installed with an alias to trick the compiler into using this package instead of the actual Roact package.
For this package to work, it needs the @rbxts/roact
alias so that Roblox-TS can use this package for your TSX files.
You can install with an alias like so:
# recommended
npm install @rbxts/roact@npm:@rbxts/react-ts@latest
yarn add @rbxts/roact@npm:@rbxts/react-ts@latest
# may cause issues
pnpm add @rbxts/roact@npm:@rbxts/react-ts@latest
Make sure the following alias or something similar is in your package.json
:
"dependencies": {
"@rbxts/roact": "npm:@rbxts/react-ts",
}
You can install @rbxts/react-roblox
to render React components with createRoot
instead of Roact.mount
.
npm install @rbxts/react-roblox
yarn add @rbxts/react-roblox
pnpm add @rbxts/react-roblox
Installing this package will install React, ReactRoblox, etc. directly under the @rbxts
folder in located ReplicatedStorage.
If your package depends on React packages, they may be imported in Luau via require(script.Parent...Parent.MODULE)
or require(...node_modules["@rbxts"].MODULE)
depending on your project structure.
Types are derived from DefinitelyTyped.
Dependencies of this package were published from littensy/react-lua, which is a fork of jsdotlua/react-lua.
FAQs
To allow React in Roblox-TS, this package combines `jsdotlua/react` and `jsdotlua/roact-compat` and re-exports them with typings from `@rbxts/roact` some types from [the DefinitelyTyped package](https://github.com/DefinitelyTyped/DefinitelyTyped/blob/mast
The npm package @rbxts/react-ts receives a total of 3 weekly downloads. As such, @rbxts/react-ts popularity was classified as not popular.
We found that @rbxts/react-ts demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
/Security News
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
Product
Customize license detection with Socket’s new license overlays: gain control, reduce noise, and handle edge cases with precision.
Product
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.