Skip to content

Easy kill

Compare
Choose a tag to compare
@andrejewski andrejewski released this 04 Dec 03:32
· 27 commits to master since this release

This release simplifies done. Before:

function done (model) {
  return () => {
    // call cleanup code
  }
}

After:

function done (model) {
  // call cleanup code
}

See #18 for details. In short, we don't need the complexity of returning an effect.