Skip to content

Migration Tool / Codemod for v10 → v11 #44

Description

@msdnx

First of all, congratulations on the v11 release. The new compound component architecture looks modern and flexible.

However, migrating from v10 to v11 appears to require significant manual work. For medium to large applications using components such as DataTable, Dialog, Dropdown, TreeTable, and others, the migration effort can be substantial.

Since many APIs have changed from the previous declarative style to the new compound component approach, it would be extremely helpful to have an official migration tool (codemod) that can automate the common transformations.

For example, a tool such as:

npx @primereact/codemod v11

could:

  • Update imports.
  • Transform common component patterns where possible.
  • Flag cases that require manual intervention.
  • Generate TODO comments for unsupported scenarios.

Even if the migration cannot be fully automated, handling 70–80% of the repetitive changes would save developers a significant amount of time and reduce migration errors.

Are there any plans to provide an official migration utility or codemod for upgrading existing v10 applications to v11?

Thank you for your work on PrimeReact.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions