Attaching some error handling
Where can I attach some error handling?
Any errors which occur during the initial render of a view which I've just navigated to end up getting caught and rethrown by Routes.statics.handleAsyncError.
This alerts me to the error (which is okay in development) but I can't see where I might attach my own handling to it.
I've got some better error handling going on the routes-props branch, but there are a few failing tests to work out still. I'm fairly sure that nothing is wrong with the code, just something up with our test harness... :/
Anyway, once that's merged you'll be able to do stuff like this:
<Routes onTransitionError={myErrorHandler}>
...
</Routes>
Cool, that's exactly what I was looking for.
closing, please follow #152