CCodemod

react/create-element-to-jsx

No description available

reactmigration
Public
166 executions
Run locally
npx codemod react/create-element-to-jsx
Documentation

This codemod transforms React.createElement calls into JSX syntax, making your code more readable and maintainable.

Example

Before

tsx

After

tsx

Ready to contribute?

Build your own codemod and share it with the community.