Bank of America interview question

Questions on the react framework