React Strict DOM

A subset of React DOM, imperative DOM, and CSS that supports web and native...

README

react-strict-dom dev


Development monorepo for "React Strict DOM".

React Strict DOM (RSD) is an experimental integration of React DOM and StyleX that aims to improve and standardize the development of styled React components for web and native. The goal of RSD is to improve the speed and efficiency of React development without compromising on performance, reliability, or quality. Building with RSD is helping teams at Meta ship features faster, to more platforms, with fewer engineers.

To support native platforms, RSD builds on the design goals of the "React DOM for Native proposal" by polyfilling a large number of standard APIs, and by leveraging new web capabilities coming to React Native such as DOM traversal and layout APIs and a well-defined event loop processing model.

React Native compatibility is a work in progress. Please see COMPATIBILITY.md for a detailed breakdown and links to specific issues; register your interest (e.g., thumbsup reaction) in supporting missing features on native platforms.

Structure


.github
  Contains workflows used by GitHub Actions.
  Contains issue templates.
apps
  Example applications.
configs
  Contains configuration files used by the monorepo tooling (compiling, linting, testing, etc.)
packages
  Contains the individual packages managed in the monorepo.

Tasks


build
  Use npm run build to run the build script in every workspace.
* Use `npm run build -w ` to run the build script for a specific workspace.
dev
  Use npm run dev to run the dev script in every workspace.
* Use `npm run dev -w ` to run the dev script for a specific workspace.
test
  Use npm run test to run tests for every workspace.

More details and setup instructions can be found in the [CONTRIBUTING][contributing] guide.

Code of conduct


This project expects all participants to adhere to Meta's OSS [Code of Conduct][code-of-conduct]. Please read the full text so that you can understand what actions will and will not be tolerated.


[contributing]: https://github.com/facebook/react-strict-dom/blob/main/CONTRIBUTING.md
[code-of-conduct]: https://opensource.fb.com/code-of-conduct/

License


React Strict DOM is MIT licensed.