Skip to content

feat: add remove legacy context transform #6

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

amirabbas-gh
Copy link
Owner

📚 Description

This PR introduces the new remove-legacy-context transform.

  1. New Transform: Prop Types to TypeScript
    • Added remove-legacy-context transform to assist in migrating from prop-types to TypeScript interfaces.
    • Ensured compatibility with common patterns in React components.
    • Available via npx codemod react/19/remove-legacy-context.

🧪 Test Plan

Validate the new transform tests using jest.

@amirabbas-gh amirabbas-gh force-pushed the remove-legacy-context_transform branch from 9b41895 to ab126d3 Compare February 4, 2025 19:11
@amirabbas-gh amirabbas-gh force-pushed the remove-legacy-context_transform branch from ab126d3 to a52702d Compare February 5, 2025 20:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant