Hard

In a React application, you need to create a tag input component where users can add and remove tags. The component should prevent duplicates and validate input. What's wrong with this implementation?

Choose an option below