X by 2 interview question

What is reactJS and it's advantages?