Skip to content

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
@eps1lon eps1lon force-pushed the sebbie/react-markup/s2 branch from 1ea59a4 to 23d0254 Compare August 14, 2024 08:33
@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 force-pushed the sebbie/react-markup/s2 branch from 062f774 to 29b5f33 Compare August 14, 2024 17:35
@eps1lon eps1lon marked this pull request as ready for review August 14, 2024 17:36
@eps1lon eps1lon requested a review from sebmarkbage August 14, 2024 17:36
@eps1lon eps1lon merged commit cea13fe into main Aug 15, 2024
@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