As per the documentation, the syntax <></> is not supported by all tools and they encourage you to use <React.Fragment> instead
Check this documentation on Support for Fragment syntax
As per the documentation, the syntax <></> is not supported by all tools and they encourage you to use <React.Fragment> instead
Check this documentation on Support for Fragment syntax