code: function createInstance(datum, index) {
      const selection = select(this);
      setInstance(this, {
        component, selection, destroy, datum, index,
      });
      create(selection, datum, index);
    }
docs: Creates a new component instance and stores it on the DOM node.