voronianski / flux-comparison

:pencil: Practical comparison of different Flux solutions
https://labs.voronianski.dev/flux-comparison/
2.79k stars 214 forks source link

Suggestion: Show error handling #29

Closed jonjanisch closed 9 years ago

jonjanisch commented 9 years ago

To make the examples complete and more realistic, I think error handling should be demonstrated. I'm struggling to come up with a good pattern for error handling myself.

voronianski commented 9 years ago

@jonjanisch this discussion may help you - http://pixelhunter.me/post/110248593059/flux-solutions-compared-by-example#comment-1845704464 basically there's no strict rules in error handling implementations, it's up to you to decide whether it's less verbose to have errors in stores or component's state.