Cross-platform React UI packages
The development monorepo houses the “React Native for Web” project and its related components. It contains directories such as “.github” for GitHub Actions workflows, “configs” for configuration files, and “packages” for individual packages managed within the monorepo. Various Node.js scripts located in the “scripts” directory enable developers to run tasks such as building, development, and testing for specific packages or the entire project.
git clone <repo-url>
cd <cloned-directory>
npm install
npm run build
npm run build -w <package-name>
npm run dev
npm run dev -w <package-name>
npm run test
The development monorepo for “React Native for Web” provides a centralized location for managing related projects, individual packages, and various configuration files and scripts. Developers can easily contribute to the project by following the guidelines detailed in the contributing guide and adhering to the project’s code of conduct. The presence of GitHub workflows, configuration files, and Node.js scripts simplifies the development process for building, testing, and improving the project.