search

Home  >  Q&A  >  body text

javascript - Why can both vue's template and react's render function only have one root element?

https://facebook.github.io/re...

漂亮男人漂亮男人2720 days ago1068

reply all(1)I'll reply

  • 三叔

    三叔2017-06-14 10:54:21

    Just like an HTML document can only have one root element....
    Multiple root elements will inevitably lead to the inability to form a tree

    reply
    0
  • Cancelreply