SHARE
TWEET

Untitled

a guest Jul 21st, 2019 71 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. let doneRendering = false;
  2.  
  3. ReactDOM.render(element, container, () => {
  4.   //...
  5.   doneRendering = true;
  6. });
  7.  
  8. while (!doneRendering) {}
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top