You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some codemod commands in README.md cause errors and can't be run.
The commands that cause errors include pure-render-mixin, error-boundaries, and findDOMNode. For more details, please refer to the section ### Codemod Registry Status.
How to Reproduce the Error and Examples
This is how to reproduce the error and examples:
$ npx codemod react/pure-render-mixin --target src
× Fetching "react/pure-render-mixin"...
The specified command or codemod name could not be recognized.
To view available commands, execute "codemod --help".
To see a list of existing codemods, run "codemod search" or "codemod list" with a query representing the codemod you are looking for.
Why the Error Happens
The codemod command might not be listed in the Codemod Registry.
Codemod Registry Status
Here’s a simple table showing if each codemod is in the registry:
Codemod Name
Is it in the Registry?
remove-context-provider
Yes
remove-forward-ref
Yes
use-context-hook
Yes
replace-act-import
Yes
replace-string-ref
Yes
replace-use-form-state
Yes
replace-reactdom-render
Yes
create-element-to-jsx
Yes
error-boundaries
No
findDOMNode
No
manual-bind-to-arrow
No
pure-component
No
pure-render-mixin
No
React-PropTypes-to-prop-types
No
rename-unsafe-lifecycles
Yes
react-to-react-dom
No
React-DOM-to-react-dom-factories
No
ReactNative-View-propTypes
No
update-react-imports
Yes
What We Want
Please add the codemods that are not in the registry. If you can't do that, please change the document to show which ones are missing.
Overview
Some codemod commands in README.md cause errors and can't be run.
The commands that cause errors include pure-render-mixin, error-boundaries, and findDOMNode. For more details, please refer to the section
### Codemod Registry Status
.How to Reproduce the Error and Examples
This is how to reproduce the error and examples:
Why the Error Happens
The codemod command might not be listed in the Codemod Registry.
Codemod Registry Status
Here’s a simple table showing if each codemod is in the registry:
remove-context-provider
remove-forward-ref
use-context-hook
replace-act-import
replace-string-ref
replace-use-form-state
replace-reactdom-render
create-element-to-jsx
error-boundaries
findDOMNode
manual-bind-to-arrow
pure-component
pure-render-mixin
React-PropTypes-to-prop-types
rename-unsafe-lifecycles
react-to-react-dom
React-DOM-to-react-dom-factories
ReactNative-View-propTypes
update-react-imports
What We Want
Please add the codemods that are not in the registry. If you can't do that, please change the document to show which ones are missing.
References
Related past ISSUES include:
The text was updated successfully, but these errors were encountered: