Most efficient way to create a div with several children
I’m trying to create a function which takes an object with a few parameters and returns a newly created div.
I’m trying to create a function which takes an object with a few parameters and returns a newly created div.
I’m wondering whats the best practice for strings values mixed with variables inside JSX tags, I’ve listed the options I’m familiar with: