Migrating angular-formly to modern Angular
angular-formly rendered forms from JavaScript configuration objects, with custom types and wrappers.
What replaces it
| Option | When to choose it |
|---|---|
| ngx-formly | The direct successor: the same field-configuration idea on reactive forms. |
| Your own form builder | When the configuration format is simple and you want no dependency. |
How to migrate it
- Convert field definitions: templateOptions became props, and expression properties became expressions.
- Rebuild each custom type and wrapper as an Angular component.
- 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