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
{{ message }}
This repository was archived by the owner on Apr 13, 2023. It is now read-only.
In my mind the errors should be returned and not thrown unless necessary, because not all errors are equal.
Ideally I would like to do the following
getDataFromTree(app).then(()=>{constcontent=ReactDOMServer.renderToString(app);const{ data }=client.getInitialState();<------Data(witherrors)// check for expected errors and renderreturnrenderPage(data);}).catch(error=>{// handle unexpected errors});