score:0

  1. electron have dom.
  2. if you don't have dom, that means there no way to render it. how you render dom in place where it's not exist?
  3. check p1, you have dom in electron app, and after some configurations it's fully equal to website development, seems like you doing something wrong.
  4. you cannot have tree. yes, you can put null into any other tag, but null itself cannot have childrens.

like this.

if you render null into #root, it will be shown as empty tag, but inside of it it's not possible.

render() {
    return null; //how to put child tags in it? no way...
}

Related Query

More Query from same tag