Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
"Error: null" in the captured error warning due to cross-origin issues #10321
Three points from discussion in reduxjs/react-redux#756:
This was referenced
Jul 29, 2017
I'm not a huge fan of the magical behavior of automatically wrapping. Also takes us further away from just being try/catch semantics.
If you have the
Just build a proper HoC once and be done with it. :)
Tend to agree with @sebmarkbage about automatic wrapping.
Isn't the more likely scenario that the error would propagate to the next boundary, and eventually to the root? Not sure where the infinite loop comes into play.
I do think we should use a custom error for cross-origin errors