Carlos Cifuentes
AngularJS library migration · dynamic forms

Migrating angular-formly to modern Angular

angular-formly rendered forms from JavaScript configuration objects, with custom types and wrappers.

What replaces it

OptionWhen to choose it
ngx-formlyThe direct successor: the same field-configuration idea on reactive forms.
Your own form builderWhen the configuration format is simple and you want no dependency.

How to migrate it

  1. Convert field definitions: templateOptions became props, and expression properties became expressions.
  2. Rebuild each custom type and wrapper as an Angular component.
  3. Migrate one form end to end first; the rest follow the same pattern.

Watch out. If the field configurations come from the backend, version them. Both the legacy and the new renderer must work during the transition.

Other libraries

Planning a migration or a micro-frontend platform?

In a 20-minute call you describe your situation and I tell you how I'd approach it. If it isn't worth doing yet, I'll say so.

Message me on LinkedIn