DEV Community

loading...

Discussion on: Are you giving the proper sense to React.Fragment?

Collapse
sergeysova profile image
Sergey Sova

I prefer this over returning fragment.
But in the most situations we need an empty state component instead of null