useState .cursorrules prompt files

useState is a React Hook that allows you to add state to functional components, enabling dynamic updates to the component without needing to use class components.