Description
If you create a new Router() instance and do not create a triggerEvent
function on it (eg. router.triggerEvent = function(){};
) then when you try to use the router via transitionTo
or handleURL
your route handler functions will not be called, the hidden optional logging function provided as a constructor argument doesnt log any errors, nor does the javascript engine itself. Only the returned Intent object shows a this.triggerEvent is not a function
error without any additional information.
Doing a global text search through the entire codebase for "triggerEvent" only returns a function definition in router.d.ts
which implies that the function should be implemented inside the router.es.js
module but it isnt.
Also reading through the entire README yields no mention of triggerEvent
or anything to point towards an issue here.
Activity