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?
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.
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?