Is there any template element similar to Mini Program's block,vue in react, which only makes packages and does not render?

because components in react can only have one root element, when you have to render multiple elements, you have to build an element wrap, which is superfluous and uncomfortable.

but vue only wraps elements that are not rendered, and there are similar Mini Program, which I don"t seem to mention in react"s document

so, is there a package element in react

May.08,2022

react can render arrays to achieve what you call requirements.
you can put multiple components that you want to render into an array.

{[<1/>,<2/>,...]}

React.Fragment

Menu