Skip to content

why not return a cleanup function? #100

@zzzgit

Description

@zzzgit
const cleanup = effect(()=>{
  console.log(`${foo} and ${bar}`)
})

cleanup()

Why not add this functionality?

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