Medidata Solutions interview question

Many technical questions around react as I was coding