Skip to content

Lazy-load form field components #6120

Description

@alexandrevryghem

Describe the feature

Currently the submission form fields still use a hardcoded switch of components: dsDynamicFormControlMapFn instead of only loading the components we need. We should refactor this switch using a decorator and lazy-load all the field components to reduce the main bundle size.

Related work

We already reduced the main bundle size for the other dynamic components in DSpace here:

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions