Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
this is a workaround for react 16 since ReactDOM.render is not guaranteed to return the instance synchronously (especially if called within another component's lifecycle method eg: componentDidMount). see: facebook/react#10309 (comment) Test plan: * when rendered into canvas-lms using react16, it shouldn’t throw errors
- Loading branch information