Skip to content

P1B: Refactor packages/ui/src/context/dialog.tsx: Function with high complexity (count = 27): init #170

Description

@inseokk

Uniqueness check

  • I have searched open issues and confirmed this file + smell is not already taken.

Full path to the Typescript file

packages/ui/src/context/dialog.tsx

Function(s)/scope targeted

init

Relevant Qlty output

 Function with high complexity (count = 27): init

          32  function init() {
          33    const [stack, setStack] = createSignal<Active[]>([])
          34    const timer = { current: undefined as ReturnType<typeof setTimeout> | undefined }
          35    const lock = { value: false }
          36  
          37    onCleanup(() => {
              [hid 119 additional lines]

Activity

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

Metadata

Metadata

Assignees

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