Thanks for sharing the ways to render multiple components.
I'd like to point out that, when you return an array of elements, you need to separate each element with ,.
,
function Columns() { return [ <td>Hello</td>, <td>World</td> ]; }
Oops, I forgot that. Thanks for pointing it out. I thought I had checked everything.
Thanks for the updated code snippets~
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Thanks for sharing the ways to render multiple components.
I'd like to point out that, when you return an array of elements, you need to separate each element with
,
.Oops, I forgot that. Thanks for pointing it out. I thought I had checked everything.
Thanks for the updated code snippets~