From c81e198c7ccb4a45e4d2c99ec055cbbefe3da6a8 Mon Sep 17 00:00:00 2001 From: Brian Sharon Date: Fri, 17 Oct 2025 13:21:59 -0600 Subject: [PATCH] Update codemod command in react-19-upgrade-guide.md `codemod@latest` is no longer able to run the codemod recipe correctly --- src/content/blog/2024/04/25/react-19-upgrade-guide.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/blog/2024/04/25/react-19-upgrade-guide.md b/src/content/blog/2024/04/25/react-19-upgrade-guide.md index cb83a61764c..1f6a8fe518f 100644 --- a/src/content/blog/2024/04/25/react-19-upgrade-guide.md +++ b/src/content/blog/2024/04/25/react-19-upgrade-guide.md @@ -105,7 +105,7 @@ All codemods are available in the [`react-codemod` repo](https://github.com/reac Run all codemods listed in this guide with the React 19 `codemod` recipe: ```bash -npx codemod@latest react/19/migration-recipe +npx codemod@0.18.12 react/19/migration-recipe ``` This will run the following codemods from `react-codemod`: