Easy

This question is a daily question and will count towards your daily streak.

In React, what is the correct way to update the state of a counter that depends on the previous state?

Choose an option below