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 has been archived by the owner on Apr 13, 2023. It is now read-only.
It seems like we are going through some contortions to keep this.data up to date, which seems unnecessary given we can now call this.queryObservable.currentResult() in the render function to get the current data.
So I would suggest something like:
render(){letdata;if(/*skipping*/){data={loading: false,errors: null};}else{data=assign({},this.queryObservable.currentResult());// copy fields over from queryObservable}// now render wrappedComponent with data}
The text was updated successfully, but these errors were encountered:
It seems like we are going through some contortions to keep
this.data
up to date, which seems unnecessary given we can now callthis.queryObservable.currentResult()
in the render function to get the current data.So I would suggest something like:
The text was updated successfully, but these errors were encountered: