Leaving unused props in a React component can make the code harder to understand and maintain. Other developers may wonder why certain props are
passed to a component if they are not used. Unused props can also increase the size of the component’s memory footprint and impact performance. This
is especially true if the unused props are large objects or arrays. Furthermore, if a prop is unused, it may indicate that the developer did not
complete the implementation as he intended initially or made a mistake while writing the component.
To avoid these issues, you should remove any unused props from React components. This helps keep the codebase clean, improves performance, and
enhances code readability.