Comcast interview question

How react works under the hood?