File tree Expand file tree Collapse file tree 1 file changed +48
-0
lines changed Expand file tree Collapse file tree 1 file changed +48
-0
lines changed Original file line number Diff line number Diff line change @@ -84,6 +84,54 @@ or use `codemod` CLI for better experience and support:
8484npx codemod react/19/use-context-hook --target < path>
8585```
8686
87+ #### ` replace-act-import `
88+
89+ Updates ` act ` import path from ` react-dom/test-utils ` to ` react ` .
90+
91+ Run with ` react-codemod ` CLI for basic experience:
92+
93+ ``` sh
94+ npx react-codemod replace-act-import < path>
95+ ```
96+
97+ or use ` codemod ` CLI for better experience and support:
98+
99+ ``` sh
100+ npx codemod react/19/replace-act-import --target < path>
101+ ```
102+
103+ #### ` replace-string-ref `
104+
105+ Replaces deprecated string refs with callback refs.
106+
107+ Run with ` react-codemod ` CLI for basic experience:
108+
109+ ``` sh
110+ npx react-codemod replace-string-ref < path>
111+ ```
112+
113+ or use ` codemod ` CLI for better experience and support:
114+
115+ ``` sh
116+ npx codemod react/19/replace-string-ref --target < path>
117+ ```
118+
119+ #### ` replace-use-form-state `
120+
121+ Replaces usages of useFormState() to use useActionState().
122+
123+ Run with ` react-codemod ` CLI for basic experience:
124+
125+ ``` sh
126+ npx react-codemod replace-use-form-state < path>
127+ ```
128+
129+ or use ` codemod ` CLI for better experience and support:
130+
131+ ``` sh
132+ npx codemod react/19/replace-use-form-state --target < path>
133+ ```
134+
87135#### ` create-element-to-jsx `
88136
89137Converts calls to ` React.createElement ` into JSX elements.
You can’t perform that action at this time.
0 commit comments