Contentsquare interview question

How ReactJs & Angular work internally?