DEV Community

Discussion on: Aux Component vs React Fragment - which one is better?

Collapse
 
alaindet profile image
Alain D'Ettorre

As a newbie, I've seen HOCs for that, but the default way (React.fragment) is surely the best way to go: built-in, faster, no need to hack it

Collapse
 
olenadrugalya profile image
Olena Drugalya

Yep :) but knowing another way doesn’t hurt :)