Skip to content

v0.2.2

Compare
Choose a tag to compare
@dlmr dlmr released this 29 May 15:23
· 72 commits to master since this release

Features

  • Better support for aborting redial hooks and detecting of it has been aborted. isAborted()
  • Function for manually abort redial hooks. abort()
  • Lifecycle functions, see below.
onStarted(force)      Invoked when a route transition has been detected and when redial hooks will be invoked
onError(error, type)  Invoked when an error happens, type can be either a "location-change", "aborted" or "other" reason
onAborted             Invoked if it was prematurely aborted through manual interaction
onCompleted           Invoked if everything was completed successfully, both blocking and deferred

Fixes

  • Inconstancy when using force together with parallel set to false.