Closed jacquesg closed 3 weeks ago
The documentation also states: "The signature is filter(location, action): Boolean where location is history.location and action is history.action."
However, from the above the location
type is a string
.
The example usage: history.listen(historyContext(rollbar));
also doesn't work, as the args
parameter is not optional.
historyContext
does not return something that can be used withhistory.listen()
.