How to see the problem npm i npm start Go to http://localhost:3000 Problem Look at the src/CodeWords component Why the functionality works only after clicking activate how to achieve functional state without additional buttons