-
Task
-
Resolution: Done
-
Normal
-
None
-
None
-
Future Sustainability
-
5
-
False
-
-
False
-
None
-
Unset
-
None
-
-
-
HCC Framework Sprint 51, HCC Framework Sprint 52
Migrate @data-driven-forms/react-form-renderer package from JavaScript to TypeScript.
Package Details:
- Package: @data-driven-forms/react-form-renderer
- Current size: 85 JS files, 9,327 lines of code
- Purpose: Main form rendering engine - core package that all mappers depend on
- Priority: HIGH - Core package needed by all component mappers
Migration Tasks:
- Convert .js/.jsx files to .ts/.tsx
- Add proper TypeScript type definitions for form schemas
- Type the form rendering engine interfaces
- Update React component props with proper TypeScript types
- Ensure form validation types are properly defined
- Update imports/exports to use TypeScript types
- Run comprehensive tests to ensure functionality is preserved
- Update any generated type definitions to source types
Technical Notes:
- Should be migrated after @data-driven-forms/common
- All component mappers depend on this package
- TypeScript infrastructure already configured
- Must maintain backward compatibility for existing consumers
Repository: https://github.com/data-driven-forms/react-forms
Package Path: packages/react-form-renderer/