Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[xplat] Implement JSX runtime for react strict dom #30768

Merged
merged 22 commits into from
Mar 13, 2024

Conversation

behowell
Copy link
Contributor

ℹ️ Note: this is being merged into the xplat branch, not master.

New Behavior

Redirect the JSX runtime to create react-strict-dom elements for react native, instead of intrinsic DOM elements. This allows fluentui components to render in react-strict-dom.

The native runtime also converts the className prop to stylex styles by looking up the values in the map created by makeStyles calls in the react-platform-adapter.

@behowell behowell self-assigned this Mar 13, 2024
@behowell behowell requested review from a team, sopranopillow and micahgodbolt as code owners March 13, 2024 09:30
@github-actions github-actions bot added this to the March Project Cycle Q1 2024 milestone Mar 13, 2024
@behowell behowell merged commit a7f6eeb into microsoft:xplat Mar 13, 2024
11 of 13 checks passed
@behowell behowell deleted the xplat-jsx-adapter branch March 13, 2024 20:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants