react-ssr-error-boundary
react-ssr-error-boundary copied to clipboard
The component renders a different markup on the server vs on the client. This causes issues, such as those described by https://github.com/reactjs/reactjs.org/issues/25. If you are lucky then react will patch...
I didn't want to redo all the footwork here: https://github.com/zekchan/react-ssr-error-boundary/pull/8 So that should be looked at and merged first.
I wrap my component by boundary and it works. But i would like to see what is reason of error - its message and error stack.
Using div means this affects the dom. This could have unintended consequences. Replacing it with React.Fragment ( shorthand) removes that issue.
Is it possible to return children with the fallback function?
Hi. Would it be difficult to support the newer Context API released in React 16.3? As I'm sure you're aware, this module solves one of the big problems standing in...