这是indexloc提供的服务,不要输入任何密码
Skip to content

Code Quality: Prune duplicate code #15

@ayushnirwal

Description

@ayushnirwal

Description

Many instances of duplicated code found in the codebase.

Examples

  • Editor and EditorFallback are almost duplicates. Even the utils used in them are duplicates.
  • Sandbox and ContentState manage the same state. The management should be refactored into a single hook and context provider to avoid duplication.

Acceptance criteria

  • Find instances of duplicated code. (Usage of WebStorm's inspect code feature will be very useful )
  • Delete or refactor duplicate code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions