akxcv / vuera

:eyes: Vue in React, React in Vue. Seamless integration of the two. :dancers:
MIT License
4.3k stars 242 forks source link

fix: use React.Fragment via props while React version is over 16.2.0 #130

Open cappuccino6 opened 3 years ago

cappuccino6 commented 3 years ago

we want to remove the useless div by React.Fragment, meanwhile, we know that React under 16.0 version doesn't support this. Luckily, as we can see, we can pass a property to make it under control when your React version is greater then or equal to 16.2.0.

cappuccino6 commented 3 years ago

hi, akxcv, we need to remove the outer container div tag in our project, this is pretty important for us and we need your support pls. or maybe wo have to fork this project and maintain it oulselves, which seems not convenient for us all