DEV Community

Discussion on: This is why you can't return adjacent JSX elements.

thehanimo profile image

I mean, while compiling, can’t React intelligently figure it out and add a parent block? I know it doesn’t do that now but it is quite possible isn’t it?

Thread Thread
Sloan, the sloth mascot
Comment deleted
devhammed profile image
Hammed Oyedele

That is asking too much 😅

React is just a library.