markdalgleish / redial

Universal data fetching and route lifecycle management for React etc.
1.1k stars 42 forks source link

wrap hook call in try catch #35

Closed 10xLaCroixDrinker closed 7 years ago

10xLaCroixDrinker commented 8 years ago

I encountered an issue today in my application where one hook triggered an error and that stopped all other hooks from being called. With this change, the other hooks could still be called.

coveralls commented 8 years ago

Coverage Status

Coverage decreased (-2.8%) to 97.222% when pulling ed8063def37d9cb11540c002e372b792b1d83a4a on jking90:jking90-patch-1 into 5b8f7f8086219d6e285b1df62dbd879bc9428fc3 on markdalgleish:master.

markdalgleish commented 7 years ago

Fixed in v0.5.0.