code: function render(element) {
      // Is the given element valid?
      invariant(
          ReactElement.isValidElement(element),
          'render(): You must pass a valid ReactElement.'
      );
  
      const id = ReactInstanceHandles.createReactRootID(); // Creating a root id & creating the screen
      const component = instantiateReactComponent(element); // Mounting the app
      const transaction = ReactUpdates.ReactReconcileTransaction.getPooled();
  
      ReactWWIDOperations.setRoot(new WorkerDomNodeStub('0', 'div', {}));
  
      // The initial render is synchronous but any updates that happen during
      // rendering, in componentWillMount or componentDidMount, will be batched
      // according to the current batching strategy.
      ReactUpdates.batchedUpdates(() => {
          transaction.perform(() => {
              component.mountComponent(id, transaction, {});
          });
          ReactUpdates.ReactReconcileTransaction.release(transaction);
      });
  
      return component._instance;
  }
docs: Renders the given react element using a web worker.
  
  @param  {ReactElement}   element   - Node to update.
  @return {ReactComponent}           - The rendered component instance.