rematch: onError
Should handle global errors. The following should work.
init({
onError: (e) => console.log(e)
})
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 15 (9 by maintainers)
Should handle global errors. The following should work.
init({
onError: (e) => console.log(e)
})
Note: look into how error handling is done in this project: https://github.com/PlatziDev/redux-catch
Alternatively, we could expose configuration settings to plugins.
So when a plugin is created it can be called immediately with rematch config.