Skip to content

Types for registerWidget don't match the implementation #7410

Open
@fgnass

Description

@fgnass

Describe the bug

The types for registerWidget only specify a single signature, but the implementation allows two additional ways of registering widgets, which are both actively used throughout the codebase.

Why this matters

Currently, decap-cms-app registers all widgets eagerly at once, which results in very large bundle sizes. I would like to provide an alternative, more modular approach, but this requires the types to match in the first place.

What to do

Stay tuned for a PR or possibly an update to #7402

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: bugcode to address defects in shipped code

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions