-
Notifications
You must be signed in to change notification settings - Fork 284
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Maybe it's a RFC #274
Comments
You’d need to write your own codemod. Please search the internet for “how to write a codemod with jscodeshift”. |
@gaearon Why you are angry? |
Sorry, I didn't mean to sound angry! I'm saying that in order to implement the functionality you want, you need to write your own codemod. This is because Does this make sense? |
@gaearon Thanks man, it's great |
How to change, remove or add a props to component by
react-codemod
for exapmle:I have a component like this:
Now, I want to remove
id
props from all component so result is:I think it can be possible like this command
npx react-codemod remove-props 'id'
The text was updated successfully, but these errors were encountered: