react-apollo: An approach to handle errors globally

1 · André König · Oct. 2, 2017, 4:54 p.m.
Well, I had quite a journey today and I would like to share it with you. I'm – like most of you – a huge fan of GraphQL and the Apollo Stack. Those two technologies + React: declarative rendering + declarative data fetching ❤️ - Is there anything that would make a dev happier? I guess there are many things, but anyways. One thing that bothered me a lot today was handling errors globally. 😤 Imagine the following scenario: An unexpected error occurred. Something really bad. The UI can't and...