Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Examples of Error Handling #3

Open
namuol opened this issue Feb 3, 2015 · 0 comments
Open

Examples of Error Handling #3

namuol opened this issue Feb 3, 2015 · 0 comments

Comments

@namuol
Copy link

namuol commented Feb 3, 2015

Error handling is especially tricky with the Flux architecture. Namely, tracking and displaying errors in the View that occured asynchronously, such as failed server operations.

It would be useful to see how marty handles actions that have corresponding failure (and success) state, but in this example, server actions are 100% optimistic. ;)

After going through the docs a little, I found fetch which seems to have a very elegant approach to handling pending operations. The name suggests that it's only meant for READs, but it's unclear if that's the only use case.

Either way, this repo seems like the perfect place to illustrate an approach (if not the approach) to handling pending/failed operations in marty.

Cheers 🍻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant