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

[Fax] Publish experimental_renderToHTML #30690

Merged
merged 4 commits into from
Aug 15, 2024
Merged

[Fax] Publish experimental_renderToHTML #30690

merged 4 commits into from
Aug 15, 2024

Conversation

eps1lon
Copy link
Collaborator

@eps1lon eps1lon commented Aug 14, 2024

Need to get greenlight from @rickhanlonii first that the bot get the maintainer invitation react-bot has publish rights.

Summary

Publishes react-markup@experimental

renderToHTML is experimental so it should be published with the prefix.

Reference docs: reactjs/react.dev#7107

How did you test this change?

  • CI

Copy link

vercel bot commented Aug 14, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
react-compiler-playground ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 14, 2024 5:41pm

@facebook-github-bot facebook-github-bot added CLA Signed React Core Team Opened by a member of the React Core Team labels Aug 14, 2024
@react-sizebot
Copy link

react-sizebot commented Aug 14, 2024

Comparing: 5c9243d...79b705b

Critical size changes

Includes critical production bundles, as well as any change greater than 2%:

Name +/- Base Current +/- gzip Base gzip Current gzip
oss-stable/react-dom/cjs/react-dom.production.js = 6.68 kB 6.68 kB +0.11% 1.82 kB 1.83 kB
oss-stable/react-dom/cjs/react-dom-client.production.js = 500.37 kB 500.37 kB = 89.80 kB 89.80 kB
oss-experimental/react-dom/cjs/react-dom.production.js = 6.69 kB 6.69 kB +0.05% 1.83 kB 1.83 kB
oss-experimental/react-dom/cjs/react-dom-client.production.js = 507.50 kB 507.50 kB = 90.96 kB 90.96 kB
facebook-www/ReactDOM-prod.classic.js = 595.24 kB 595.24 kB = 105.55 kB 105.55 kB
facebook-www/ReactDOM-prod.modern.js = 571.54 kB 571.54 kB = 101.75 kB 101.75 kB

Significant size changes

Includes any change greater than 0.2%:

(No significant changes)

Generated by 🚫 dangerJS against 29b5f33

@@ -130,8 +135,20 @@ if (!__EXPERIMENTAL__) {
}

await expect(async () => {
await ReactHTML.renderToMarkup(React.createElement(Component));
}).rejects.toThrow();
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Test would've passed without renaming so I added the exact message we expect.

Copy link
Member

@rickhanlonii rickhanlonii left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉

@eps1lon eps1lon merged commit cea13fe into main Aug 15, 2024
185 checks passed
@eps1lon eps1lon deleted the sebbie/react-markup/s2 branch August 15, 2024 06:50
@eps1lon eps1lon changed the title Publish experimental_renderToHTML [Fax] Publish experimental_renderToHTML Aug 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed React Core Team Opened by a member of the React Core Team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants