Informer and DragDrop in react fails with missing target

Hi, i am trying to use informer together with DragDrop react component but always get:
“Error: Invalid target option given to Informer”

I “delayed” the binding of informer to DOM element by putting it in useEffect instead of normal code flow but to no avail.

thanks for infos how to handle that.

  //uppy init code before
 
  useEffect(() => {
    uppy.use(Informer, { target: "informer" });
  }, []);

  return (
    <>
      <DragDrop
        uppy={uppy}
        locale={{
          strings: {
            browse: "Dateibrowser durch Klick"
          }
        }} />
      <div id="informer"></div>
    </>
  );