Skip to content

Add codemods to upgrade guide - #6897

Merged
rickhanlonii merged 3 commits into
reactjs:mainfrom
rickhanlonii:rh/codemods-guide
May 23, 2024
Merged

Add codemods to upgrade guide#6897
rickhanlonii merged 3 commits into
reactjs:mainfrom
rickhanlonii:rh/codemods-guide

Conversation

@rickhanlonii

Copy link
Copy Markdown
Member

Adds the react-codemod codemods added by @alexbit-codemod and the team from codemod.com.

@vercel

vercelBot commented May 21, 2024

Copy link
Copy Markdown

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

NameStatusPreviewCommentsUpdated (UTC)
19-react-dev✅ Ready (Inspect)Visit Preview💬 Add feedbackMay 23, 2024 3:36pm
react-dev✅ Ready (Inspect)Visit PreviewMay 23, 2024 3:36pm

@github-actions

github-actionsBot commented May 21, 2024

Copy link
Copy Markdown

Size changes

Details

📦 Next.js Bundle Analysis for react-dev

This analysis was generated by the Next.js Bundle Analysis action. 🤖

This PR introduced no changes to the JavaScript bundle! 🙌


To help with the upgrade, we've worked with the team at [codemod.com](https://codemod.com) to publish codemods that will automatically update your code to many of the new APIs and patterns in React 19.

The Codemod team have published all codemods to [`react-codemod`](https://github.com/reactjs/react-codemod) and will be helping maintain the React codemods moving forward, but we recommend using the `codemod` command for a better experience.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

this sentence is a little hard to parse for me, what does it mean to use the codemod command (as opposed to?)

Copy link
Copy Markdown
MemberAuthor

Choose a reason for hiding this comment

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

Will update with a better blurb

Comment threadsrc/content/blog/2024/04/25/react-19-upgrade-guide.md Outdated
Co-authored-by: Ahmed Abdelbaset <A7med3bdulBaset@gmail.com>
Sign up for freeto 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.

4 participants

@rickhanlonii@poteto@AhmedBaset@facebook-github-bot