Uploaded image for project: 'Hybrid Cloud Console'
  1. Hybrid Cloud Console
  2. RHCLOUD-44572

Migrate @data-driven-forms/react-form-renderer to TypeScript

XMLWordPrintable

    • 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/

              mmarosi123 Martin Marosi
              mmarosi123 Martin Marosi
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: