-
I have `PureComponent` only with `static propTypes` and `render`
I run
```
npx react-codemod pure-component path_to_component
```
and I get error
```
Unable to destructure ComponentName p…
-
I'm using Jscodeshift to replace the following code in astexplorer testing, but I get different results using babel/ts
```ts
export const systemCoreApi = wrapApiClient({ namespace: 'system' })
`…
-
I've got a [collection of transforms](https://github.com/tivac/mithril-codemods) that don't really make sense to be run individually. I'd like to provide a straightforward way to run them all against …
tivac updated
6 years ago
-
-
Is there a way to use `jscodeshift` with the standard input instead of with a file? (And print the result to stdout) For example:
```
cat index.js | jscodeshift -t transform.js > transformedIndex.…
-
```ts
export const foo = queryField('foo', {
type: 'Boolean',
args: {
appID: nonNull('UUID'),
},
resolve: async function (_parent, args, context) {
return true;
},
});
```
…
-
When running the pure-component codemod on a typescript file
```
// TransformTest.tsx
import React from 'react';
class TransformTest extends React.Component {
render() {
return I've too m…
-
Hi. I created a script that converts redux-saga code to typed-redux-saga.
I'm wondering if it could be included in this rep so that people can migrate existing code to typed-redux-saga by just runnin…
-
Hi!
I'm currently trying to work with a transformer file that would receive injected data. It might be a non-standard usage of jscodeshift but this is the flow I'm currently trying to get working:
…
-
https://github.com/facebook/jscodeshift/issues/352