DEV Community

Discussion on: React Fragments

Collapse
 
chiangs profile image
Stephen Chiang

I wonder if there is a performance difference between the two ways of using it. If there was, probably not significant... But if you use React.Fragment in a component where the logic is to conditionally render some jsx or null, would it act like a dynamic import?