SyntaxFix
Write A Post
Hire A Developer
Questions
If you do not wrap your component then you can write it as mentioned below method.
Instead of:
return( <Comp1 /> <Comp2 /> );
you can write this:
return[( <Comp1 /> ), ( <Comp2 /> ) ];