Please enable JavaScript to use CodeHS

Mobile Apps

Lesson 6.2 Updating State with onPress

Description

In this lesson, students will learn how to update the values of states by using TouchableHighlight components.


Objective

Students will be able to:

  • create and use functions that are called using the onPress function to update state values