- accept new options:
- beforeRedirectHooks:
Function[]
- afterRedirectHooks:
Function[]
- expose new methods:
- addBeforeRedirectHook:
Function => remove() // return remove function
- addAfterRedirectHook:
Function => remove()
Goal: ability to overwrite final destination during redirect process
This allows application to define conditional redirects
Function[]Function[]Function=>remove()// return remove functionFunction=>remove()This allows application to define conditional redirects