Zepto (India) interview question

How useState work internally in react js.