← Return

Item List ManagerMedium

You are tasked with creating a simple React application called "Item List Manager" that displays a list of items and allows users to add new items to the list.

Detailed Requirements

  1. When the application loads, it should display an empty list.
  2. The input field should accept user text input.
  3. When the button is clicked:
  4. The text from the input field should be added to the list.
  5. The input field should be cleared.
  6. If the input field is empty and the button is clicked, nothing should be added to the list.