In this following exercise, create a button and a text. This app has only one feature: the text must be updated on the UI every time the button is pressed, incrementing a state that needs to start at zero.
Tip: you will need to use a Hook method.
Extra points: log a message into the console only once and when the app starts.
Follow the UI below:


- Install packages with
yarnornpm install.- If you have native iOS code run
npx pod-install
- If you have native iOS code run
- Run
yarn startto start the bundler. - Open the project in a React runtime to try it:
- yarn ios
- yarn android
- yarn web