Put in order · React Native course · Module 11: Device and sensors
addListener
Arrange the Accelerometer subscription:
Items to put in order
- Accelerometer
- (setData)
- .addListener
You can check the correct answer by solving this task in the CodeWorlds game.