What it basically means is all components should be wrapped in a parent element . So without disturbing the whole schematic design <> provides a wrapper to wrap all your elemnts inside it . <React. Fragment> // your code </React. Fragment>
Read moreCan React props be undefined?
React props can be passed conditionally Instead, within the component that prop will have a value of undefined . If you would like to be alerted to when a value is not passed as a prop to a component, you can use a tool like prop-types or TypeScript using these tools.
Read more