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

Mar.21,2021

just as a HTML document can have only one root element.
multiple root elements must make it impossible to form a tree


react version 16.3 provides the fragment function so that it can return multiple elements

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1befb1c-3141d.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1befb1c-3141d.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?