React Unity is a way to build declarative UI in Unity3D using React. It can be used together with packages like Typescript, redux, i18next, react-router and more. It also supports a subset of CSS features and Flexbox layout system.
Node is only used while developing and not required in runtime or after the project is built. Following are the minimum recommended versions. Use latest stable versions when possible.
Install via OpenUPM (recommended)
npx openupm-cli add com.reactunity.core com.reactunity.quickjs
Or add using the package manager with the git URL
https://github.com/ReactUnity/core.git#latest
ReactRendererUGUI
component to itnpx @reactunity/create@latest
in your Unity project root to create a React projectnpm intall
from React projectnpm run start
from React projectVisit the documentation on the main website to learn more.
Most of ReactUnity's features are not well documented yet. All questions, bug reports and requests are welcome. You can share them by opening issues or posting them in the Discord server.