You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm finding that a lot of times the reThrown errors from Action.js are quite ambiguous and hard to trace down.
Often the stack trace is not visible as it is rethrown from inside the Action.js and masks the origin of the actual error - combined with source maps this has even more inconsistencies.
Attempting to recreate an error seems to not be working right now but this is definitely happening - will post more details when it happens again.
The text was updated successfully, but these errors were encountered:
I recently found this panel discussion https://www.youtube.com/watch?v=LTj4O7WJJ98 regarding flux - at a point they compare the two approaches used internally in Facebook by two teams. Seems like one team fetches (async) in stores and the other fetches in Action creators. The panel lead seems to prefer the ActionCreator async approach as it's easier to share logic and also not tie data to a specific endpoint.
I've been scaling fairly well with promises in action creators but I just lose some errors every now and then into a pyramid of promises.
I'm finding that a lot of times the reThrown errors from Action.js are quite ambiguous and hard to trace down.
Often the stack trace is not visible as it is rethrown from inside the Action.js and masks the origin of the actual error - combined with source maps this has even more inconsistencies.
Attempting to recreate an error seems to not be working right now but this is definitely happening - will post more details when it happens again.
The text was updated successfully, but these errors were encountered: